Ecka,

The local home interface can only be used by other beans in the same
container; it does not need distributed objects protocol RMI. Of course
performance is improved.

Luis.


----- Original Message -----
From: "Ecka Kjellberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 5:36 AM
Subject: Re: Local / Remote EJB home


> Sorry if I'm a little unclear but I was (and still is at least a little
bit)
> confused about the purpose of the local EJBHome. I now think I understand
> the main reason to have them - that is performance. Because you could
still
> use the 'remote' EJBHome instead of the local on the same server. The main
> performance penalty is it that the objects passed in and out are
serialized?
> /Ecka
>
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Thompson, Chris
> Sent: den 25 februari 2002 23:25
> To: [EMAIL PROTECTED]
> Subject: Re: Local / Remote EJB home
>
>
> 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".
>
>
===========================================================================
> 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".
>
>

===========================================================================
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