Java Platform, Enterprise Edition (Java EE) 8
The Java EE Tutorial
You can use either NetBeans IDE or Maven to build, package, deploy, and run the Duke’s Bookstore application.
The following topics are addressed here:
Make sure that GlassFish Server has been started (see Starting and Stopping GlassFish Server).
From the File menu, choose Open Project.
In the Open Project dialog box, navigate to:
Click Open Project.
In the Projects tab, right-click the
dukes-bookstore project and
This will build, package, and deploy Duke’s Bookstore to GlassFish Server.
In a terminal window, go to:
Enter the following command:
This command builds the application and packages it in a WAR file in the
It then deploys the application to GlassFish Server.
In a web browser, enter the following URL:
On the Duke’s Bookstore main page, click a book in the graphic, or click one of the links at the bottom of the page.
Use the pages in the application to view and purchase books.