user1679231
user1679231

Reputation: 21

How to deploy a web application in glass fish server

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

Upvotes: 2

Views: 15580

Answers (4)

thar45
thar45

Reputation: 3560

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

Upvotes: 1

Ami
Ami

Reputation: 4259

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

Upvotes: 0

Will Hartung
Will Hartung

Reputation: 118784

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.

Upvotes: 6

aroth
aroth

Reputation: 54856

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

Upvotes: 0

Related Questions