I think what you mean here is that you want to maintain two sets of
interfaces, that is:
1. A EJBlocalHome interface and a EJBLocalObject interface.
2. A EJBHome interface and a EJBObject interface.

This is perfectly legal.

Sanjeev

-----Original Message-----
From: JavaSoft [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 10:32 AM
To: [EMAIL PROTECTED]
Subject: EntityBean problem


Hi all,
is it legal that an entity bean has 4 interfaces ? 2 are Local interfaces,
and other 2 are remote interfaces.
Because my entity bean is used by 2 clients remotely and locally. The
problem why dont i just make it remotely is because performnce. Remotely is
slower than locally right ? while one of entity clients is in same jvm with
the entity bean and need fast performance, thats why i want to use locally
way to access the entity bean.

===
thx,
a Java Addicted

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