ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: Are you using ANT to build J2EE projects?
Date Tue, 12 Sep 2000 11:04:25 GMT

> -----Original Message-----
> From: Brian Levine []
> Sent: Tuesday, 12 September 2000 0:02
> To: ''
> Subject: Are you using ANT to build J2EE projects?
> Hi,
> I'm wondering if folks would mind sharing their experiences using ANT to
> build J2EE projects.


> I'm developing a system comprised of static HTML,
> JSPs, servlets, and EJBs for Weblogic.  I'd be interested in knowing how
> you go about building all of this using ANT.
> For example:
> do you put your EJBs and servlets in separate root directories or are they
> combined under a common package hierarchy?

We have separate source trees and build scripts for the EJBs and the

> How do you ensure that classes that are common to the EJB interface and
> layers don't get included in both the webapp and EJB JAR to avoid the
> ClassCastException problem?

It can be a tricky problem. In general we treat the servlet layer as a
client of
the EJB layer and deploy a jar containing the EJB interfaces and RMI stubs
on the
servlet machine.

> Do you use the optional weblogic EJB tasks or do you roll your own?

We use the optional EJB tasks (of course :-))


View raw message