This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
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