This procedure builds the application into the following directory:
tut-install/examples/cdi/simplegreeting/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 simplegreeting folder.
Select the Open as Main Project check box.
Click Open Project.
(Optional) To modify the Printer.java file, perform these steps:
In the Projects tab, right-click the simplegreeting project and select Deploy.