Title: Message
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 -----
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]>:

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".

Reply via email to