JBoss Community

Re: getHandle() equivalant in EJB3

created by Mukhtar Patel in EJB3 Development - View the full discussion

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

Start a new discussion in EJB3 Development at Community