• 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!
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!