Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session at client side

 
Hari babu
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Why should we use EJB handle to store the reference to the "stateful session bean" at the client side rather than the remote reference itself ?
Hari
 
Parsuram panigrahi
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The bean is not serializable where as the handle is serializable. So we use handle in stead of the bean itself. You can use the bean itself unless non serializable objects are not a problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic