Select File -> New Project.
Select Java Web in the Categories pane.
Select Web Application in the Projects pane.
Click Next.
Set Project Name to dukes-age.
Set the Project Location to tut-install/myexample.
Click Next.
Select your GlassFish Server instance from the Server menu.
Select Java EE 6 Web from the Java EE Version menu.
Set the Context Path to /DukesAgeService
Click Finish.
You should now see the module you created in the Projects pane.
From the Projects pane, right-click on the index.jsp file and select Delete. Click Yes in the dialog.