Article donated by: Simon Godik, Hernan Cunico
The purpose of this section is to provide some general guidelines on the application deployment process. You will learn some concepts associated to deployment as well as examples for both application and configuration deployment.
This section is organized in the following topics:
- |#Deployment options for Web Applications
- |#Deploying Web application with the container-neutral schema
- |#Defining Security Realm Name
- |#Example of the Web application deployment with web-container neutral schema
- |#Deploying Web application on Jetty container
- |#Deploying Web application on Tomcat container
Deployment options for Web Applications
Web applications can be deployed in a number of ways, standalone war file or part of an ear file. Web applications deployment can be targeted to a specific servlet container (such as jetty or tomcat) or use container-neutral schema. Note that container-neutral schema also has a way to define container-specific parameters.
If deployed as part of an ear file, there are 2 ways to include web application deployment plan: include it in the geronimo-application.xml as it's own module element or include a reference to the web application deployment plan by using <alt-dd> element. The syntax of the web application element is the same in both cases, so please keep this in mind when you look at the examples.