EasyBeans is an open source implementation by ObjectWeb of the EJB3 container specification. 
X Wiki
  History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: EZB-317
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Florent BENOIT
Reporter: Loris Bouzonnet
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
EasyBeans

EZB proxy not serializable in IIOP

Created: 19/Oct/08 03:16 PM   Updated: 06/Feb/09 02:03 PM
Component/s: Core
Affects Version/s: EasyBeans 1.1.0 M1
Fix Version/s: EasyBeans 1.1.0 M3


 Description  « Hide
The environment of proxy contains the client ORB, that's not serializable.

 All   Comments   Change History   Related Builds      Sort Order:
Loris Bouzonnet - 22/Oct/08 01:00 PM
In fact, that's not a bug since not specified.

Florent BENOIT - 06/Feb/09 02:03 PM
In iiop, the object are not serializable.
You can get the EJB handle that is serializable.
The other way is to follow IIOP guidelines by using the IOR (Identifying Object Reference)

ior = ORB.object_to_string(object);
object = ORB.string_to_object(ior)

ORB is available by using lookup("java:comp/ORB")

Don't forget the call to PortableRemoteObject.narrow(oject, XXX.class) after that you get the object.


Copyright © 2006-2007 EasyBeans / ObjectWeb consortium

http://www.easybeans.org