GlassFish 4.0
Quickguide: Start server, stop, deploy applications [HOW-TO]
@ElZakaria
Conventions

 Following slides describes paths and filenames usually used in
books and tutorials about Glassfish Server.
as-install
[Windows]

Represents the base installation directory for GlassFish Server.
as-install-parent

Represents the parent of the base installation directory for
GlassFish Server.
domain-root-dir
Represents the directory in which a domain is created by
default.
domain-dir
Represents the directory in which a domain's configuration
is stored.
Default
Administration
Values
Starting a
domain
[Only one
domain
present]
Need to add which domain in case of additional existing domain
in the domain-r...
Stopping a
domain
Check if the domain is running:
Deploy an app

 Download the hello.war sample:
 http://glassfish.java.net/downloads/quickstart/hello.war
 Domain should be started first ( asadmin start-domain )

Deploy an app

Or through the adminsitration Interface
Check
deployed
apps
Undeploy
an app

Notice hello without the .war extension!
Deploying
automatically

 Copy the war file into domain-dir/auto-deploy , Done!
Undeploying
automatically

 Through the command line: del hello.war , Done!
Glassfish 4 quick guide
Glassfish 4 quick guide
Upcoming SlideShare
Loading in …5
×

Glassfish 4 quick guide

1,044 views

Published on

Understand how glassfish is organised and quickly get how to start a domain, deploy an app through the command line or the administration interface, and stop the server. It is just a quick introduction.

Published in: Education, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,044
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Glassfish 4 quick guide

  1. 1. GlassFish 4.0 Quickguide: Start server, stop, deploy applications [HOW-TO] @ElZakaria
  2. 2. Conventions  Following slides describes paths and filenames usually used in books and tutorials about Glassfish Server.
  3. 3. as-install [Windows] Represents the base installation directory for GlassFish Server.
  4. 4. as-install-parent Represents the parent of the base installation directory for GlassFish Server.
  5. 5. domain-root-dir Represents the directory in which a domain is created by default.
  6. 6. domain-dir Represents the directory in which a domain's configuration is stored.
  7. 7. Default Administration Values
  8. 8. Starting a domain [Only one domain present] Need to add which domain in case of additional existing domain in the domain-root-dir
  9. 9. Stopping a domain Check if the domain is running:
  10. 10. Deploy an app  Download the hello.war sample:  http://glassfish.java.net/downloads/quickstart/hello.war
  11. 11.  Domain should be started first ( asadmin start-domain ) Deploy an app Or through the adminsitration Interface
  12. 12. Check deployed apps
  13. 13. Undeploy an app Notice hello without the .war extension!
  14. 14. Deploying automatically  Copy the war file into domain-dir/auto-deploy , Done!
  15. 15. Undeploying automatically  Through the command line: del hello.war , Done!

×