Book Image

Mastering Netbeans

5 (1)
Book Image

Mastering Netbeans

5 (1)

Overview of this book

Table of Contents (17 chapters)
Mastering NetBeans
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating web projects


NetBeans provides first class support for developers wishing to write web applications whether they are simple HTML websites or complex Java web applications using HTML, JavaScript, and backend Java code, or anywhere in between.

As with enterprise projects we saw in the previous chapter, NetBeans provides the ability to create projects using either NetBeans project templates (based upon Apache Ant) or as Maven applications.

To create and run a web application, we need to have an application server we can deploy and run the application on. The Java EE distribution of NetBeans comes bundled with GlassFish Server Open Source Edition Version 4.1 and Apache Tomcat 8.0.15. GlassFish allows developers to deploy full Java EE stack applications, including EJB and JMS among other Java EE technologies. Tomcat is more focused on the web tier and is the de facto standard for Spring applications.

The application servers registered for web (and EJB) deployment are listed within the Servers...