To Build, Package, and Deploy the guessnumber Example
Using NetBeans IDE
This procedure builds the application into the following directory:
tut-install/examples/cdi/guessnumber/build/web
|
The contents of this directory are deployed to the GlassFish Server.
-
In NetBeans IDE, select File->Open Project.
-
In the Open Project dialog, navigate to:
tut-install/examples/cdi/
|
-
Select the guessnumber folder.
-
Select the Open as Main Project check box.
-
Click Open Project.
-
In the Projects tab, right-click the guessnumber project
and select Deploy.