Re: Loading jar from OpenEJB Classpath

2009-07-21 Thread David Blevins
On Jul 21, 2009, at 4:53 PM, felix_hack wrote: Is there a way to stop OpenEJB from loading arbitary jar files as ClientModules. I am trying to run JUnit tests using the EclEmma coverage plugin in Eclipse however it keeps failing to collect coverage data. The error message states that I need

Loading jar from OpenEJB Classpath

2009-07-21 Thread felix_hack
Is there a way to stop OpenEJB from loading arbitary jar files as ClientModules. I am trying to run JUnit tests using the EclEmma coverage plugin in Eclipse however it keeps failing to collect coverage data. The error message states that I need to ensure the emma.jar is not loaded by the tests. Wh

Re: Question about application discovery and EJB 3.0 compliance

2009-07-21 Thread David Blevins
On Jul 21, 2009, at 5:13 AM, Jean-Louis MONTEIRO wrote: AFAIK, the ejb-jar.xml file is required by OpenEJB to discover ejb modules. I think for each ejb-jar, OpenEJB looks for ejb-jar.xml in the INDEX.LST file (jar specification) for performance reasons. Right, we don't scrape every class

Re: Question about application discovery and EJB 3.0 compliance

2009-07-21 Thread Jean-Louis MONTEIRO
Hi, AFAIK, the ejb-jar.xml file is required by OpenEJB to discover ejb modules. I think for each ejb-jar, OpenEJB looks for ejb-jar.xml in the INDEX.LST file (jar specification) for performance reasons. JLouis recursion wrote: > > Yes, > > [Probably you're right. I just wanted to make sure o

Re: Question about application discovery and EJB 3.0 compliance

2009-07-21 Thread recursion
Yes, [Probably you're right. I just wanted to make sure of this!] What is the purpose of the empty ejb-jar.xml then ?? Just for app discovery ? If it is the case, then this contradicts with your post, because obviously if you're right, the ejb-jar.xml is not needed. I made some experiments with a

Re: Question about application discovery and EJB 3.0 compliance

2009-07-21 Thread Nick Mpallas
Hi, most likely my friend if u have the appropriate annotation for EJB 3.0 in ur classes then when scanning the classpath the container will understand that there are some ejb's in ur project.No algorithm needed i think. regards Nick On Tue, 2009-07-21 at 00:36 -0700, recursion wrote: > Hi dea

Question about application discovery and EJB 3.0 compliance

2009-07-21 Thread recursion
Hi dear OpenEJB guys, I was recalling once again http://openejb.apache.org/3.0/application-discovery-via-the-classpath.html and my question is: regarding EJB 3.0 standard, the ejb-jar.xml is now optional, it is not mandatory. How is then OpenEJB going to discover my EJB module, if it lacks ejb-j