Re: Overriding persistence-unit-name

2009-05-12 Thread Fred59
stand why the test is working ? Jean-Louis MONTEIRO wrote: > > Hi, > > you're definitely right. > > An EJB (CatalogueManager) in an ejb-jar (project A) is deployed and bound > to JNDI. > > > Fred59 wrote: >> >> >> >>

Overriding persistence-unit-name

2009-05-12 Thread Fred59
Hi all, My current work topic is the extensibility with the EJB 3. We use OpenEJB 3.1. In project B, we are trying to use session bean (CatalogueManager) coming from an other project A. To achieve that goal, we must override the persistence unit name defined in the @PersistenceContext located in

Sharing classpath between different Web app

2009-03-19 Thread Fred59
Hi all, I'm using OpenEJB 3.1.0 in Tomcat 5.5 on Unix environment. I have 2 web applications (A & B), A uses directly EJB beans and entities in its classpath and B needs the same beans. B is not packaged as an EJB jar, and at runtime, does'nt find the entities defined in A. Is the collapsed ear

Re: Problem during deployment with ejb-jar.xml

2008-09-19 Thread Fred59
.. Anyway if I add an tag and I don't get the exception anymore. I still continue my work on that case. Thanks again. Fred David Blevins wrote: > > On Sep 18, 2008, at 3:21 AM, Fred59 wrote: > >> >> Hi all, >> >> I'm using OpenEJB 3.0. I try to o

Problem during deployment with ejb-jar.xml

2008-09-18 Thread Fred59
Hi all, I'm using OpenEJB 3.0. I try to override a persistence context defined in a session. Hereafter the ejb-jar.xml content http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee