Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client View Of a Session Object

 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reference: EJB 2.0 Final Release
Page: 56
Chapter 6 : Client View Of a Session bean
Last point under "6.1 Overview"
"The client view of a session object is independent of the session bean and the container"
Can someone please eloborate this with an example.
Thanks,
Santosh
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The client talks to the home and component interface stubs (on the client side). What happens on the server side is unknown to the client. Remember, the client uses the same API to access the bean regardless of where the bean is. You could redeploy the app onto a different server and the client would not know.
 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Roger!!
I got it!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic