This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Session at client side
 
Similar Threads
Setting a session attribute through JS
url rewriting doubt
session management -session not destroying automatically
Changes to objects passed to remote method calls vs local method calls
session never expires in javaranch