Yes, it's basically that way. In fact, I have not found any example of SFSB being retrieved from a message and then invoked. Just some simple actions with entity beans.
Well, maybe I'm not using the most appropiate technology. However, this single-threading orientation is strange to me. For something like J2EE and EJBs is weird to not be able to support concurrent callings of the same kind of bean, and always have to use a blocking method invocation.
Thanks everybody.
Juanma
1) You should really be passing the ejb handle rather than the remote/local interface.
2) SFSB are transactional objects which implies they can only be accessed from
one thread concurrently. If there is no enclosng transaction, the request could be
queued, but that isn't what the spec says.
Regards,
Adrian