On Dec 5, 2006, at 11:17 AM, David Blevins wrote:
On Dec 5, 2006, at 6:43 AM, Filippo Diotalevi wrote:
Hi,
I've written two examples of a simplified stateless and stateful
bean to be (hopefully) included in the /examples folder of
openejb. To
make them work I had to apply some fixes to openejb...
all the fixes and the two samples are included in the patch attached
to the issue:
https://issues.apache.org/jira/browse/OPENEJB-398
As I explained in the issue, two problems still remain:
1) you still need to have an ejb-jar.xml file (empty, but you need
it)
2) the names of the deployed EJBs in the jndi registry are probably
not compliant with the specification. However, trying to fix the
names
causes dozen of failures in several test cases, so I had to keep them
Nonetheless, now the samples work.
Great! I'll take a look. I swear the deploy with no ejb-jar.xml
works, not sure what's going on there....
So what it's looking like is that when the beans are in the beans/
directory, we can pick them up just fine without an ejb-jar.xml. But
the functionality that adds deployments available in the classpath is
still using the presence of an ejb-jar.xml to come up with the
initial list of URLs to consider for addition to the deployments list.
Fixing....
-David
-David
--
Filippo Diotalevi
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it