Does the second allow you to set aliases, so that you can deploy two or more versions of the same application on the same server, so that you can uniquely identify ejb's in global jndi, wheras the first set you are using direct references to the ejb in global JNDI and then your deployment is limited to one app per server.
 
We came across this deployment scenario when we needed to UAT two different versions of our app(having the same ejbs) on the same server.
 
Regards,
 
Raj
-----Original Message-----
From: Glenn [mailto:[EMAIL PROTECTED]
Sent: 06 March 2004 03:36
To: [EMAIL PROTECTED]
Subject: Ejb-ref Difference?

Hi
 
What is the difference between these two ejb lookups;
 
1. ctx.lookup("someejb");
 
2. ctx.lookup("java:comp/env/ejb/someejb");
 
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.598 / Virus Database: 380 - Release Date: 28/02/2004
=========================================================================== 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".


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
=========================================================================== 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