On Nov 29, 2006, at 7:27 AM, Filippo Diotalevi wrote:

Hi,
 I'm looking at the example (helloworld-stateful-pojo) and trying to
write other examples... however, in the mentioned example you use the
ejb-jar.xml deployment descriptor and set the property
properties.setProperty("openejb.deployments.classpath", "true");
to specify you want to load the descriptor using the classpath.

Since with ejb3 the descriptor is optional for stateless beans, in my
example I'm using no descriptors at all. Is this way of doing already
supported by the current snapshot of openejb?

We don't yet support having no ejb-jar.xml at all, but I think if you add an ejb-jar.xml with nothing but <ejb-jar/> inside you should get far enough to where we'll start looking for beans in the archive.

-David

--
Filippo Diotalevi


Reply via email to