I followed the Orion Primer from http://www.znerd.demon.nl/ and I got it
working fine. I deployed a stateless session bean just fine. The ejb-jar.xml
file explicitly says that the bean is a stateless session bean.

Then, I tried the following code in my client application (called it from a
standalone client, not a servlet):

  Object home = ejbContext.lookup(jndiName);
  EJBHome ejbHome = (EJBHome) home;
  EJBMetaData ejbMetaData = ejbHome.getEJBMetaData();
  boolean isStateless = ejbMetaData.isStatelessSession());
  boolean isSession = ejbMetaData.isSession();

After running this code, the boolean "isStateless" is most definitely false
(incorrect) and "isSession" is true (correct).

That is, under OrionServer, the EJBMetaData does not correctly identify the
session bean as stateless.

Is there way I can submit this as a bug?

thanks for any info,
david

-- 
David Sims               [EMAIL PROTECTED]
Sims Computing, Inc.       www.simscomputing.com


Reply via email to