Deploying Application

In this section we will deploy "hello" application that come with Sun Java System Application Server Platform Edition 9.

Deploying Application

In this section we will deploy "hello" application that come with Sun Java System Application Server Platform Edition 9.

Deploying Application

Deploying Application

     

In this section we will deploy "hello" application that come with  Sun Java System Application Server Platform Edition 9. We will also learn the different methods of deploying applications on the Sun Java System Application Server Platform Edition 9.

Deployment Methods:

There are three ways for deploying Application on the Sun Java System Application Server Platform Edition 9:

  1. Auto deployment
  2. Using Admin Console
  3. By running asadmin or ant to deploy the application

In this section we will deploy hello application that comes with Sun Java System Application Server Platform Edition 9. Find install-dir/samples/quickstart/hello.war and copy the war file to install-dir/domains/domain1/autodeploy/. Once the deployment is complete, server will create a file named hello.war_deployed in the autodeploy directory.

To test the application open the browser and type http://localhost:8080/hello. You browser should look like:

 Enter your name and click on the Submit button. Application should greet you with Hello.


In this section we learned how to deploy "hello" application and then test.