Deploying a web module in glassfish server


To Start Glass Fish Server

Open command Prompt and type any of below commands
asadmin  start-domain
asadmin start-domain [domain name] [--verbose]

To Stop Glass Fish server

asadmin stop-domain [domain name]

To view the deployed applications

asadmin list-applications

To build, deploy, clean, undeploy  a web module using Ant

1.     open command prompt
2.       Go to the application context directory
3.       Type ant
4.       ant deploy for deploy a web module to domain
5.       ant clean to clean all build artifacts (deletes the built and dest folder)
6.       ant undeploy un deploys web module from domain

Comments

Popular posts from this blog

OOPS Concepts with realtime examples

What is an interface?

Asynchronous Messaging