Skip to Main Content
Ant: The Definitive Guide, 2nd Edition
book

Ant: The Definitive Guide, 2nd Edition

by Steve Holzner
April 2005
Intermediate to advanced content levelIntermediate to advanced
336 pages
7h 20m
English
O'Reilly Media, Inc.
Content preview from Ant: The Definitive Guide, 2nd Edition

Developing Enterprise JavaBeans

Ant provides a number of optional tasks for developing EJBs. Generally, these tasks are specific to the particular vendor's EJB Server. Currently, these tasks support these servers:

  • Borland Application Server 4.5

  • IBM WebSphere 4.0

  • iPlanet Application Server 6.0

  • JBoss 2.1 and above EJB servers

  • JOnAS 2.4.x and 2.5 Open Source EJB server

  • Weblogic 4.5.1 through to 7.0 EJB servers

The Ant EJB tasks and the servers they target appear in Table 9-14.

Table 9-14. The Ant EJB tasks

Task

Does this

Application servers

blgenclient

Specifies you want to create a client .jar file corresponding to an EJB .jar file

Borland Application Server 4.5 and 5.x

ddcreator

Specifies you want to compile Weblogic text-based deployment descriptors into an EJB deployment descriptor

Weblogic 4.5.1

ejbc

Lets you run Weblogic's ejbc tool

Weblogic 4.5.1

ejbjar

Supports creation of EJB .jar files (EJB 1.1 & 2.0)

Borland Application Server 4.5 and 5.x, iPlanet Application Server 6.0, JBoss, JOnAS 2.4.x and 2.5, Weblogic 5.1 to 7.0, and IBM WebSphere 4.0

iplanet-ejbc

Supports compilation of EJB stubs and skeletons for iPlanet Application Server 6.0

iPlanet Application Server 6.0

wlrun

Lets you start a Weblogic server

Weblogic 4.5.1 to 7.0

wlstop

Lets you stop a Weblogic server

Weblogic 4.5.1 to 7.0

JARing Files

The largest and most general of the EJB tasks is the ejbjar task. This task works by scanning directories; for each deployment descriptor found, ejbjar will parse it to determine the necessary ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ant: The Definitive Guide

Ant: The Definitive Guide

Eric M. Burke, Jesse Tilly
Tomcat: The Definitive Guide, 2nd Edition

Tomcat: The Definitive Guide, 2nd Edition

Jason Brittain, Ian F. Darwin
Ant in Action

Ant in Action

Erik Hatcher, Steve Loughran
CMake Cookbook

CMake Cookbook

Radovan Bast, Roberto Di Remigio

Publisher Resources

ISBN: 0596006098Supplemental ContentErrata Page