Hi,

I think there are two bugs in the stateless session bean implementation.

1.) as far as I understand 6.8.1 of the spec the container has to invoke 
"setSessionContext" and "ejbCreate" on stateless session bean instances 
before they are ready to serve client requests. this doesn't happen in 
orion 0.8.5b. we verified that session bean instances that have never 
received an "ejbCreate" handle requests, which should not happen. this 
prevents you from initializing some resources and storing them in instance 
variables in ejbCreate, which is perfectly valid accoring to the spec.

2.) according to 6.8.2 JNDI lookups to java:comp/env should be possible 
within "setSessionContext". however, lookups to other homes that work OK 
within ejbCreate don't work within "setSessionContext" (noticed that when 
trying to work around 1. ;-).

am I missing something or are those bugs?

regards,

robert




(-) Robert Kr�ger
(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de

Reply via email to