File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,27 @@ This workspace consists of Java EE 7 Samples. They are divided in different dire
88
991 . Open the sample in NetBeans 7.4 beta+
10102 . Click on "Run" (sample is built and deployed, main page shows up)
11- 3 . Main page tells what the feature is about and what to do to execute the sample and see the output
11+ 3 . Main page provides feature name, what to do to run the sample, and displays the output
1212
13- ### Alternative way ###
14- 1 . mvn clean package
15- 2 . asadmin deploy target/XXX.war
13+ ### Cargo ###
14+
15+ 1 . In one terminal, anywhere in the project with a pom.xml: "mvn cargo: run " to start GlassFish server
16+ 2 . In another terminal, in the actual sample directory
17+ 1 . `` mvn package cargo:deploy `` to deploy for the first time
18+ 2 . `` mvn package cargo:redeploy `` to redeploy (or use this all the time)
19+ 3 . `` mvn cargo:undeploy `` to undeploy
20+ 3 . Check for application name printed by Cargo output. Access the application at http://localhost:8080/ <APP-NAME >
21+ 4 . Same as 3 in the first one
22+
23+ ### Manual ###
24+ 1 . `` mvn clean package ``
25+ 2 . `` asadmin deploy target/XXX.war `` to deploy the WAR file
16263 . Access http://localhost:8080/XXX/ (main page shows up)
17- 4 . Same as 3 in the previous one
27+ 4 . Same as 3 in the first one
1828
1929### TBD ###
2030
21311 . Configure GlassFish Embedded to run the samples automatically
22- 2 . Configure Cargo to run the samples
2332
2433## List of Samples ##
2534
You can’t perform that action at this time.
0 commit comments