geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Genender <jgenen...@apache.org>
Subject Re: JPA plugin (was Re: Java 1.4 and JEE 5)
Date Sat, 12 Aug 2006 02:01:08 GMT
Isn't this the same problem we (and other app servers) have with Spring
and Commons Logging?  If you are duplicating the persistence units, then
it should be handled the same way its handled for Spring, yes?

Aaron Mulder wrote:
> So what happens if an EJB JAR has a persistence.xml and a web app in
> the same EAR has a separate persistence.xml?  If we just look in the
> class loader, when we go to deploy the web app, we'll see them both
> because the EJB JAR is added to the parent classpath of the WAR.  Is
> there a good way to distinguish "resource in my ClassLoader" from
> "resources in my ClassLoader tree"?
> 
> Thanks,
>     Aaron

Mime
View raw message