views:

107

answers:

1

Hi all,

I have a Stateless Session Bean in my JBoss Server that contains a function returning an instance of another Session Bean (this one is stateful).

My problem arises because this returned object doesn't seem to keep its persistence model (the EntityManager is null).

What is the right way to return from a Session Bean another Session Bean, keeping its remote "connection"?