aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Session at client side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session at client side" Watch "Session at client side" New topic
Author

Session at client side

Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
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

Joined: Feb 18, 2003
Posts: 17
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session at client side