Building and Deploying the guessnumber Example
Using NetBeans IDE
Follow these instructions to build, package, and deploy the guessnumber example to the Enterprise Server using NetBeans IDE.
This procedure builds the application into the tut-install/examples/cdi/guessnumber/build/web directory and deploys the contents of this directory to the Enterprise 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 checkbox.
-
Click Open Project Folder.
-
In the Projects tab, right-click the guessnumber project
and select Deploy.