• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Session Facade

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
it's a teeny, tiny, wafer thin ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic