29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

► <strong>Application</strong> analysis tools that check code for coding practices (examples are<br />

provided for best practices and issue resolution)<br />

► Enhanced runtime analysis tools, such as memory leak detection, thread lock<br />

detection, user-defined probes, and code coverage<br />

► Crystal Reports for developing visual data reports<br />

► Component test automation tools to automate creating tests and building and<br />

managing test cases<br />

8.3.3 <strong>WebSphere</strong> rapid deployment<br />

<strong>WebSphere</strong> rapid deployment is a set of tools and capabilities (non-graphical<br />

command line interface) included in the <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong><br />

packaging and also used by the development tools. These features allow for the<br />

deployment of applications with minimum effort on the part of the developer or<br />

administrator. The rapid deployment model has the following three basic<br />

features:<br />

► Annotation-based programming<br />

► Deployment automation<br />

► Enhanced EAR file<br />

Annotation-based programming enables you to annotate the EJB, servlet, or<br />

Web service module code with special Javadoc syntax annotations. When the<br />

source of the module is saved, the directives in these annotations are parsed,<br />

and the rapid deployment tools use the directives to update deployment<br />

descriptors. The developer can then concentrate on the Java source code rather<br />

than metadata files.<br />

Deployment automation is where applications installation packages are dropped<br />

into a hot directory under an application server and the application is installed<br />

automatically. Any installation parameters that have not been specified by the<br />

installation package’s deployment descriptors have default values that are<br />

applied by the automated deployment process.<br />

Rapid deployment allows for a free-form deployment operation. In this mode, it is<br />

possible to drop source code or compiled classes for servlets, EJBs, JSPs,<br />

images, and so on into the hot directory without strict J2EE packaging. Rapid<br />

deployment then compiles the classes, adds deployment descriptors, and<br />

generates an EAR file that is automatically deployed on a running server.<br />

An enhanced EAR file enables the enterprise archive package to include<br />

information about resources and properties, such as data sources, which is<br />

required by an application. When deployed on a server, the resources are<br />

automatically created on the server.<br />

Chapter 8. <strong>Application</strong> development and deployment 287

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!