Originally posted by prabhakar reddy basireddy:
Hi,
If we call Two entity beans through Session facade. where shoud we deploy these three ejb's.
Prabhakar reddy.
Wrong Forum, but anyways..
In session facade things go like this: Only session bean is exposed to client. All the calling from client to Entity beans goes through Sesssion bean. So Session bean exposes Remote interface (can expose Local also). While Entity beans expose only Local inteface. So using this
pattern we reduce remote calling (which has overheads).
Since Entity bean expose only Local interface so both entity beans and session bean has to be in same container.
Regards,
Jass