[jboss-dev-forums] [EJB3 Development] - Re: getHandle() equivalant in EJB3

Mukhtar Patel do-not-reply at jboss.com
Fri Mar 1 07:50:11 EST 2013


Mukhtar Patel [https://community.jboss.org/people/m_pat] created the discussion

"Re: getHandle() equivalant in EJB3"

To view the discussion, visit: https://community.jboss.org/message/800271#800271

--------------------------------------------------------------
Yes I did find the solution, my apologies for not updating the this thread. Basically there is no need to do anything special, in EJB3 you can simply serialize the remote object directly, i.e.



ObjectOutputStream out = **new** ObjectOutputStream(*new* 

      FileOutputStream(serFile));





out.writeObject(remote);out.close();




--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/800271#800271]

Start a new discussion in EJB3 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130301/5337419c/attachment.html 


More information about the jboss-dev-forums mailing list