KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > ejb > Handle

javax.ejb
Interface Handle

All Superinterfaces:
Serializable
See Also:
Top Examples, Source Code

public EJBObject getEJBObject()
                       throws RemoteException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[643]Recreate EJBObject from byte arrays
By Anonymous on 2004/02/04 11:17:36  Rate
byte [  ]  bytes = new String ( id ) .getBytes (  ) ; 
 InputStream io = new ByteArrayInputStream ( bytes ) ; 
 ObjectInputStream os = new ObjectInputStream ( io ) ; 
 javax.ejb.Handle handle =  ( javax.ejb.Handle )  os.readObject (  ) ; 
 EJBObject eObj = handle.getEJBObject (  ) ;

Popular Tags