This section discusses the various tools that can be used to deploy modules and applications. The deployment tools include:
The asant utility can help you assemble and deploy modules and applications. For details, see Chapter 3, The asant Utility, in Sun Java System Application Server Platform Edition 9 Developer’s Guide.
You can write your own JSR 88 client to deploy applications to the Application Server. For more information, see the JSR 88 page at http://jcp.org/en/jsr/detail?id=88.
The syntax of the URI entry for the getDeploymentManager method is as follows:
deployer:Sun:AppServer::admin-host:admin-port
For example:
deployer:Sun:AppServer::localhost:4848
See Naming Standards for application and module naming considerations.
You can use the asadmin deploy or asadmin deploydir command to deploy or undeploy applications and individually deployed modules on local servers. For details, see Directory Deployment and the Sun Java System Application Server Platform Edition 9 Reference Manual.
To deploy a lifecycle module, see Deploying a Lifecycle Module.
You can use the Admin Console to deploy modules and applications to both local and remote Application Server sites.
Open the Applications component.
Go to the page for the type of application or module.
For example, for a web application, go to the Web Applications page.
Type the path to the WAR, JAR, EAR, or RAR file or the exploded directory structure.
For more information on deploying from an exploded directory structure, see Directory Deployment.
Click on the Deploy button.
You can undeploy, enable, or disable an application or module from this page. You can also change deployment settings that vary according to the type of application or module.
For details, click the Help button in the Admin Console.
To deploy a lifecycle module, see Deploying a Lifecycle Module.