This content has been marked as final.
Show 1 reply
-
1. Re: Entity EJBs are not detected in a directory unless they
dhinojosa Feb 26, 2007 7:56 PM (in response to dhinojosa)Now I found an answer, and that answer is....
The META-INF/persistence.xml needs to be next to class files (did the documentation say that?)
so whether you are loading from a directory or a jar file the rules are:
+-META-INF
| +-persistence.xml
+-com
+-mycorp
+-blah
+-Person.class
+-PersonBean.class
+-PersonRemote.class
+-PersonLocal.class
My new question is, will there a be a way in the final Embedded distro where the META-INF doesn't necessarily have to be next to the class files?