Title: RE: EJBMetaData.isStatelessSession() bug

At all times, as soon as you discover something that you think could be a bug, send as much information as possible to:
[EMAIL PROTECTED]


> -----Original Message-----
> From: david sims [mailto:[EMAIL PROTECTED]]
> Sent: den 2 augusti 2000 02:26
> To: Orion-Interest
> Subject: EJBMetaData.isStatelessSession() bug
>
>
> 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