Basically, an EJBObject is not guranteed to be Serializable, whereas an EJBHandle is Serializable. So any place that you need a Serializable reference to an EJB then you will need to use the EJBHandle. Typical example of this is storing a reference to a Stateful Session Bean in the HttpSession.
Joined: Jan 09, 2003
Thanks for the information. What does EJBHandle stores. Does it store a referenece of the EJBObject or the value. If it stores the ref and i deserialize the EJBHandle at later will it able to find the EJBObject. and how this will work in clustered environment Regards, aakash
Originally posted by Chris Mathews: Basically, an EJBObject is not guranteed to be Serializable, whereas an EJBHandle is Serializable.
Why ? You mean to say that the stub is not serializable , if it isn't how it get dowloaded across the network? I haven't found a perfect answer to this question. Can some one give me the answer. Thanks [ August 05, 2003: Message edited by: Pradeep Bhat ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com