Hi Ecka,

I am not sure if I understand your second question, but the Local EJBHome
object is just a parallel to the Remote EJBHome object.  There is a local
interface and a local home interface.  The Local Client can do the same
types of things with the local home interface that a Remote Client can do
with the remote home interface such as create() or findXXX() EJBs, and now
in EJB 2.0 one can call static class Home() methods that you have
implemented.  The local interfaces are a little different in that they
cannot throw RemoteException so this is one way anyway whre they have to be
different classes than the remote interface classes.

I hope this helps,

Chris Thompson
Bean-test Developer
http://www.empirix.com

-----Original Message-----
From: Ecka Kjellberg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 7:12 AM
Subject: Local / Remote EJB home


Could someone please shortly explain the purpose of a Local EJBHome
introduced in EJB 2.0?
Does it not move a deployment property (what instances of an EJB to create)
into the 'client'-code?

Thanks/Ecka Kjellberg

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to