I did read that session beans can't be reentrant, no threads. Well I do have
my client using the stub to one bean reference, and more than one thread use
it.

Instead of it failing, it appears the server somehow knows, and makes the
required number of sessions needed. So if I cause three threads to go, I'll
get three sessions.

This is all fine, but  unless I'm wrong, I am doing something out of spec
and really shouldn't do what I'm doing. Instead I should have one reference
(Stub) per thread on the client.

So I'm curious. Does it work for me the way I have it because jboss is going
beyond the spec, or am I missing something and I'm really doing things
correctly??

I'm actually disappointed the spec won't let me write a stateless session
bean that can deal with threads (seems pretty safe to me if I intend it).

Rick


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to