Ali Foroughi
Ali Foroughi

Reputation: 4609

Deploy a java web service on glashfish manually

I created a web service in netbeans an deploy it on glassfish 3 using netbeans. Everything going right , an I use that web service on a client application and call its methods. Now I want to install the web service on an other machine. I installed JDK SDK and also GlassFish SDK on that new machine , Now what can I do to deploy web service on that machine ? I do not want install netbean on it, Is there anyway to deploy the web service on that machine using command line ? Is there any thing else that I should install on that machine ??

Upvotes: 0

Views: 58

Answers (1)

codeMan
codeMan

Reputation: 5758

You can just start the glashfish server using the following command :

asadmin start-domain --verbose

here is a detailed tutorial.

Now login as server admin: The default administration server’s port number is 4848.

example - localhost:4848/

The default user name is admin, and by default no password is required and deploy the application form the GUI there.

here is a detailed tutorial on how to deploy and app on glashfish.

Upvotes: 2

Related Questions