Java EE applications need to be deployed on an application server.
Several application servers exist in the market; both the Java EE and
the All NetBeans bundles come with GlassFish and Tomcat bundled.
Tomcat is a popular open source servlet container, which can be used to
deploy applications using JSF. However, it does not support other Java
EE technologies such as EJBs or JPA. GlassFish is a 100 percent Java EE
compliant application server. We will be using the bundled GlassFish
application server to deploy and execute our examples.
NetBeans requires a Java Development Kit ( JDK ) Version 1.7 or newer to be
available before it can be installed.
Since this topic is aimed at experienced Java developers, we will not
spend much time explaining how to install and configure the JDK. We
can safely assume that the target market for the topic is more than likely
to have a JDK installed. Installation instructions for the Java Development
Kit can be found at http://docs.oracle.com/javase/7/docs/
NetBeans installation varies slightly between the supported platforms. In the following
few sections we explain how to install NetBeans on each supported platform.
For Microsoft Windows platforms, NetBeans is downloaded as an executable
file named something like netbeans-8.0-javaee-windows.exe (exact name
depends on the version of NetBeans and the NetBeans bundle that was selected
for download). To install NetBeans on Windows platforms, simply navigate to the
folder where NetBeans was downloaded and double-click on the executable file.
Mac OS X
For Mac OS X, the downloaded file is called something like netbeans-8.0-javaee-
macosx.dmg (exact name depends on the NetBeans version and the NetBeans bundle
that was selected for download). In order to install NetBeans, navigate to the location
where the file was downloaded and double-click on it.