> -----Original Message-----
> From: Brian Sheehan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 10, 2001 12:43 PM
> 
> Hi,
> I'm trying to use the <ejbjar> task (with the nested 
> <weblogic> task). The
> ejb I want to build uses several other utility classes from 
> my build tree,
> so these need to be included in the EJB jar file that is 
> output. 

Why would you want to include the utility classes in your jar.
That would mean that if you have 100 beans in your jar these
utility classes would be in every bean that uses them.

We have always used the principle to never put any other class
in the ejb-jar other than the Bean classes. (Home-, Remote-,
PK-,BeanClass). If your server has the utility classes in the
startup classpath they will be found.

I hope this prevents your problems with the support element,

Niels

P.S. Your EJB jars shouldn't bein the startup classpath, since
they will be loaded by a seperate classloader.

Reply via email to