diff --git a/docs/manual/OptionalTasks/ejb.html b/docs/manual/OptionalTasks/ejb.html index 6d9472bad..736c8e6ee 100644 --- a/docs/manual/OptionalTasks/ejb.html +++ b/docs/manual/OptionalTasks/ejb.html @@ -31,6 +31,25 @@ $Id$

Introduction

+

Ant provides a number of optional tasks for developing +Enterprise Java Beans (EJBs) +. In general these tasks are specific to the particular vendor's EJB Server.

+ +

At present the tasks support:
+

+ + + Over time we expect further optional tasks to support additional EJB Servers. +

Ant provides a number of optional tasks for developing Enterprise Java Beans (EJBs). In general these tasks are specific to the particular vendor's EJB Server. At present the tasks support @@ -44,7 +63,7 @@ to support additional EJB Servers. blgenclientBorland Application Server 4.5 ddcreatorWeblogic 4.5.1 ejbcWeblogic 4.5.1 - iplanet-ejbciPlanet Application Server 6.0 + iplanet-ejbciPlanet Application Server 6.0 ejbjarNested Elements borlandBorland Application Server 4.5 jBossjBoss @@ -497,6 +516,7 @@ specify the BEA Home to have this task work correctly under 6.0


+

ejbjar

Description:

@@ -506,10 +526,11 @@ the user generated class files and the standard deployment descriptor. Nested elements provide support for vendor specific deployment tools. These currently include:

This task supports two approaches to creating ejb jar files. The first @@ -534,7 +555,7 @@ server descriptors are found. For each descriptor found, ejbjar will parse the deployment descriptor to determine the necessary class files which implement the bean. These files are assembled along with the deployment descriptors into a well formed EJB jar file. Any support files which need to be included in the -generated jarcan be added with the <support> nested element. For each +generated jar can be added with the <support> nested element. For each class included in the jar, ejbjar will scan for any super classes or super interfaces. These will be added to the generated jar.

@@ -643,8 +664,8 @@ three nested elements.

Classpath

The <classpath> nested element allows the classpath -to be set. It is useful when setting the classpath from a reference path. IN all -othe rrespects the behaviour is the same as the classpath attribute.

+to be set. It is useful when setting the classpath from a reference path. In all +other respects the behaviour is the same as the classpath attribute.

dtd

@@ -682,8 +703,8 @@ requiring the vendor classes in the classpath, you would need to use a

The <support> nested element is used to supply additional classes (files) to be included in the generated jars. The <support> element is a -FileSet, so it can either reference a fileset declared elsewehere or it can be -defined in-place with the approrpiate <include> and <exclude> nested +FileSet, so it can either reference a fileset declared elsewhere or it can be +defined in-place with the appropriate <include> and <exclude> nested elements. The files in the support fileset are added into the generated EJB jar in the same relative location as their location within the support fileset. Note that when ejbjar generates more than one jar file, the support files are added @@ -894,7 +915,7 @@ define this as META-INF/Customer-weblogic-cmp-rdbms-jar.xml.

newCMP - If this is set to true, the ne wmethod for locating + If this is set to true, the new method for locating CMP descriptors will be used. No. Defaults to false @@ -1187,13 +1208,14 @@ JAR files don't overwrite each other. <include name="**/*-ejb-jar.xml"/> <exclude name="**/*ias-*.xml"/> </ejbjar> -This example demonstrates the use of the dtd nested element. If the -[iAS-install-directory]/APPS directory is included in the classpath, these -local DTDs will be automatically referenced even without the nested -elements. +This example demonstrates the use of the dtd nested element. If the local +copies of the DTDs are included in the classpath, they will be automatically +referenced without the nested elements. In iAS 6.0 SP2, these local DTDs are +found in the [iAS-install-directory]/APPS directory. In iAS 6.0 SP3, these +local DTDs are found in the [iAS-install-directory]/dtd directory.
    <ejbjar srcdir="${build.classesdir}"
-            descriptordir="${src}" > 
-            <iplanet destdir="${assemble.ejbjar}"            >
+            descriptordir="${src}"> 
+            <iplanet destdir="${assemble.ejbjar}">
                      classpath="${ias.ejbc.cpath}" />
             <include name="**/*-ejb-jar.xml"/>
             <exclude name="**/*ias-*.xml"/>