File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session at client side
 
Similar Threads
Changes to objects passed to remote method calls vs local method calls
session never expires in javaranch
session management -session not destroying automatically
url rewriting doubt
Setting a session attribute through JS