• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Facade

 
prabhakar reddy basireddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If we call Two entity beans through Session facade. where shoud we deploy these three ejb's.



Prabhakar reddy.
 
Jass Singh
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!