File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Session at client side
Joined: Jun 25, 2001
Apr 27, 2003 22:15:00
Why should we use
handle to store the reference to the "stateful session bean" at the client side rather than the remote reference itself ?
Joined: Feb 18, 2003
Apr 28, 2003 05:11:00
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:
subject: Session at client side
url rewriting doubt
Changes to objects passed to remote method calls vs local method calls
session management -session not destroying automatically
Setting a session attribute through JS
session never expires in javaranch
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015