Java Platform, Enterprise Edition: The Java EE Tutorial
59.2 Building and Deploying the Duke's Forest Case Study ApplicationYou can use NetBeans IDE or Maven to build and deploy Duke's Forest.
59.2.1 To Build and Deploy the Duke's Forest Application Using NetBeans IDEMake sure that GlassFish Server has been started (see Starting and Stopping GlassFish Server), as well as the database server (see Starting and Stopping the Java DB Server).
From the File menu, choose Open Project.
In the Open Project dialog box, navigate to:
tut-install/examples/case-studies
Select the dukes-forest
folder.
Select the Open Required Projects check box and click Open Project.
Right-click the dukes-forest
folder and select Build.
This task configures the server, creates and populates the database, builds all the subprojects, assembles them into JAR and WAR files, and deploys the dukes-payment
, dukes-store,
and dukes-shipment
applications.
To configure the server, this task creates a JDBC security realm named jdbcRealm, enables default principal-to-role mapping, and enables single sign-on (SSO) for the HTTP Service.
Make sure that GlassFish Server has been started (see Starting and Stopping GlassFish Server), as well as the database server (see Starting and Stopping the Java DB Server).
In a terminal window, go to:
tut-install/examples/case-studies/dukes-forest/
Enter the following command to configure the server, create and populate the database, build all the subprojects, assemble them into JAR and WAR files, and deploy the dukes-payment
, dukes-store,
and dukes-shipment
applications:
mvn install
To configure the server, this task creates a JDBC security realm named jdbcRealm, enables default principal-to-role mapping, and enables single sign-on (SSO) for the HTTP Service.
|
CollapseRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3