Re: Reg ejb-local-ref

Katz Guy <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <385D702A9C11D511A9E90008C7160AD5045D248D@ISMAIL1>
hi;
local beans are typically registered in JNDI.
so you can use a simple JNDI lookup to get the local EJBs.
in such a scenario you will not have to use the ejb-local-ref and thus you
loose the ability to decouple you bean's look up name (as you wrote in your
code) from your beans actual JNDI name.
 

-----Original Message-----
From: Vikram Naik [mailto:[email protected]] 
Sent: Friday, August 08, 2003 11:09 AM
To: [email protected]
Subject: Re: Reg ejb-local-ref


I meant to say , do we have a tag in ejb-jar.xml where we can declare all
the available local entities at one place. As i have a requirement of a
generic session bean which routes/processes all the client requests so it
will be mandatory for me to mention all the available local entities in the
deployment description of that bean ... which means i will have some around
more than 100 entries for ejb-local-ref in that slsb description !!!!
 
HTH,
Vikram Naik
    

----- Original Message ----- 
From: Johan  <mailto:[email protected]> Eltes 
To: [email protected] <mailto:[email protected]>  
Sent: Thursday, August 07, 2003 7:09 PM
Subject: Re: Reg ejb-local-ref

Hi!

I'm not sure I follow you when you say "just like the datasource connection
factory to be defined for all the CMP entity beans". Could you please
elaborate on this?

/Johan

Den 03-08-07 17.56, skrev "NYIMI Jose (BMB)" <[email protected]
<mailto:[email protected]> >:



Give a look the to ServceLocator code used in ch3 of
"J2EE Design Pattern Applied" book page 126

Fortunately the ch3 is free from the following link:

http://developer.java.sun.com/developer/Books/j2ee/dpa/

José.

-----Original Message-----
From: Vikram Naik [mailto:[email protected]] 
Sent: Thursday, August 07, 2003 5:04 PM
To: [email protected]
Subject: Reg ejb-local-ref

Hello,

   Is it necessary to place all the local entity beans referenced by the
SLSB in its ejb-local-refs. Is there any way, where we can list this
ejb-local-refs at application level and can be inherited by the the
underlying components , just like the datasource connection factory to be
defined for all the CMP entity beans.

 
Regards,
Vikram Naik
===========================================================================
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". 



**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the sole use of the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to,
total or partial reproduction, communication or distribution in any form) by
other persons than the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either
by telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our
website at http://www.proximus.be or refer to any Proximus agent.
===========================================================================
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". 




===========================================================================
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".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.