This content has been marked as final.
Show 1 reply
-
1. Re: Transferring EntityBean to client
adrian.brock Mar 29, 2003 4:40 PM (in response to seeker)What do you mean by transfer?
It is possible for a client to get a reference
to an entity bean.
InitialContext ctx = new InitialContext();
EntityHome home = (EntityHome) ctx.lookup("jndiName");
Entity bean = home.findByPrimaryKey("Seeker");
bean.remove(); // :-)
I would recommend you research Session facades
and transactional assembly.
Regards,
Adrian