Java Reference
In-Depth Information
Deploying our first application
NetBeans comes pre-configured with a number of sample applications. To make
sure everything is configured correctly, we will now deploy one of the sample
applications to the integrated GlassFish application server that comes bundled
with NetBeans.
To open the sample project, we need to go to
File
|
New Project
, then select
Samples
|
Java EE
from the
Categories
list in the resulting pop-up window. Once
we have selected
Java EE
from the categories list, a list of projects is displayed in the
Projects
list; for this example we need to select the
JavaServer Faces CDI
project.
This sample is a simple project involving both JSF and
Contexts and Dependency
Injection
(
CDI
).