Book Image

Java EE 5 Development with NetBeans 6

Book Image

Java EE 5 Development with NetBeans 6

Overview of this book

Table of Contents (17 chapters)
Java EE 5 Development with NetBeans 6
Credits
About the Author
About the Reviewers
Preface
Identifying Performance Issues with NetBeans Profiler

Creating Our Enterprise Project


The first thing we need to do to create our application is to create a new Enterprise Application project. Enterprise Application projects encapsulate any number of Web Application projects, EJB projects, and Application Client projects. Behind the scenes, Enterprise Application projects are deployed in an Enterprise Archive (EAR) file, which NetBeans generates automatically for us.

In order to create an Enterprise Application project, we need to go to File | New Project, select the Java EE category and the Enterprise Application project type.

We will develop an application that will manage customer information in a database, therefore, we give our application the name of CustomerManagement.

After entering the Project Name and clicking Next>, we need to make sure that the Create EJB Module and Create Web Application Module checkboxes are both checked. Default names for these modules are usually reasonable, therefore there is little reason to change them...