...
This document offers a series of different sample application so you can have a better understanding of how this wizard works. This document is organized in the following sections:
...
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.
...
So far we have shown you how easy is to deploy a web application when using annotations. The following section focuses on applications not using annotations, this is mainly for applications based on the previous J2EE specification.
Sample without annotations
Anchor | ||||
---|---|---|---|---|
|
To make it easier to compare we are providing a similar set of applications as in the previous section(JDBC, EJB and JMS) but without the advantage of using annotations. In addition we are also including a security configuration application to cover the additional functionality we didn't cover in the previous section.
...
The noAnnotations-TestSecuritySettings.zip provides a number of SQL scripts and deployment plans to facilitate set up the environment the security sample application requires to run. The provided files are 1_TimeReportDB.sql
, 2_dbPoolPlan.xml
, 3_securityRealmPlan.xml
. In addition there is a 0_Readme.txt
which is a condensed set of intructions to deploy this sample application, timereport.war
which is the application we will be deploying and a sample of the generated deployment plan timereport_generatedPlan.xml
. Download and extract the zip file to a directory of your convenience.
timereport.war
provides 2 Servlets, several JSPs and the web.xml
we will be focusing on. In addition this WAR contains the sources and full java docs.
1) Using "DBManager" portlet, create a database by name "TimeReportDB" and run "1_TimeReportDB.sql" on this new database.
...