Book Image

Java EE 7 Development with NetBeans 8

By : David R Heffelfinger
5 (1)
Book Image

Java EE 7 Development with NetBeans 8

5 (1)
By: David R Heffelfinger

Overview of this book

Table of Contents (18 chapters)
Java EE 7 Development with NetBeans 8
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Obtaining NetBeans


NetBeans can be obtained by downloading it from http://www.netbeans.org.

To download NetBeans, we need to click on the Download button. Clicking on this button will take us to a page displaying all NetBeans' download bundles.

NetBeans' downloads include different NetBeans bundles that provide different levels of functionality. The following table summarizes the different NetBeans bundles available and describes the functionalities they provide.

NetBeans Bundle

Description

Java SE

Allows development of Java desktop applications.

Java EE

Allows development of Java Standard Edition (typically desktop) applications, and Java Enterprise Edition applications (enterprise applications running on "big iron" servers).

C/C++

Allows development of applications written in the C or C++ languages.

HTML5 and PHP

Allows development of web applications using HTML5 and/or the popular open source PHP programming language.

All

Includes functionalities of all NetBeans bundles.

To follow the examples in this book, either the Java EE or the All bundle is needed.

Note

The screenshots in this book were taken with the Java EE bundle. NetBeans may look slightly different if the All bundle is used, particularly, some additional menu items might be seen.

The following platforms are officially supported by NetBeans:

  • Windows

  • Linux (x86/x64)

  • Mac OS X

Additionally, NetBeans can be executed on any platform containing Java 7 or newer version. To download a version of NetBeans to be executed in one of these platforms, an OS independent of NetBeans is available.

Note

Although the OS independent version of NetBeans can be executed in all the supported platforms, it is recommended to obtain the platform specific version of NetBeans for your platform.

The NetBeans download page should detect the operating system being used to access it, and the appropriate platform should be selected by default. If this is not the case, or if you are downloading NetBeans with the intention of installing it in another workstation on another platform, the correct platform can be selected from the drop down labeled appropriately enough as Platform.

Once the correct platform has been selected, we need to click on the appropriate Download button for the NetBeans bundle we wish to install; for Java EE development, we need either the Java EE, or the All bundle. NetBeans will then be downloaded to a directory of our choice.

Note

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.