You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

To facilitate the creation of deployment plans there is a new portlet now available. The plan creator wizard available from the Geronimo Administration Console makes deployment easier by asking you some questions and proposing default values when providing a web application WAR file.

Supported features

The plan creator wizard will help you generate the appropriate deployment plan for the application you are deploying. The wizard currently works for web apps and supports the following features.

  • EJB
  • EJB Local
  • JDBC Connection Pool
  • JMS Connection Factory
  • JMS Destination
  • JavaMail Session & Web Service References declared in the web-apps are auto discovered and users are asked to resolve them by listing Available Resources in the server environment to which they can be linked.
  • Above type of references declared inside the Java classes through Annotations are also auto discovered.
  • Simplified configuration of Security.

The plan creator wizard will behave differently depending on the type of application you are installing. The following sections provide sample applications with different features so you can better appreciate the wizard behavior.

Sample with annotations

There are three simple applications attached to give you a better idea how the plan creator wizard would work when deploying applications using annotations.

JDBC access

This sample is a very simple database access application that uses annotations. For this example we have created a sample BankDB database on the embedded Derby. We have also defined before hand a database connection pool. In this section we will not cover how to create a database or a connection pool, however we provide in the Attachments section the necessary SQL to generate the required sample database.

The Annotations-TestJDBCAccess.zip file provides a BankDB.sql, WebAppJDBCAccessAnnotations.war which is the WAS we will be deploying and a sample of the generated deployment plan WebAppJDBCAccessAnnotations_generatedPlan.xml. Download and extract the zip file to a directory of your convenience.

EJB access

JMS access

Sample without annotations

Attachments

No files shared here yet.
  • No labels