Take the 2-minute tour ×

I have started glass fish server as a windows service, can anyone please describe me how to deploy the application in the glass fish server

share|improve this question
What have you tried so far? Did you read f.e. glassfish.java.net/javaee5/deployment/… ? –  akluth Sep 19 '12 at 13:58
add comment

4 Answers

Several ways.

You can hook up your IDE (several of them support Glassfish).

You can use asadmin:

asadmin deploy youapp.war

You can use the Glassfish web console:

http://localhost:4848/ login/pw are likely admin/adminadmin

You can copy the WAR file to your glassfish_instal_dir/domain1/autodeploy directory.

I think that about covers the major ways of doing it.

share|improve this answer
add comment

There are several ways to deploy the web application in the glass fish server,

In following link will porvide you the ways to deploy the webservice in glass fish server

share|improve this answer
add comment

Glassfish is a servlet container, and as such it works just like pretty much every other servlet container. Just drop a valid deployable (typically a .war file) in the correct place, and the rest takes care of itself.

You can find more specific details (and some alternative deployment options) here: https://blogs.oracle.com/chengfang/entry/seriously_deploying_apps_to_glassfish

share|improve this answer
GlassFish is much more than a servlet container. It is a Java EE 6 application server that supports 28 specifications, one of which is the Servlet 3.0 specification. I do understand what you are trying to say, but those new to web development that read this comment should know that GlassFish is oh so much more :-) –  John Clingan Sep 18 '12 at 23:51
add comment

Here goes install,configure and Deploy application in Glassfish..Here deploy simple Hello world application.

share|improve this answer
add comment

Your Answer


