*
The moose likes EJB and other Java EE Technologies and the fly likes How to lookup for an object dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to lookup for an object dynamically " Watch "How to lookup for an object dynamically " New topic
Author

How to lookup for an object dynamically

krishna chandra
Greenhorn

Joined: Sep 18, 2005
Posts: 5
Hello everybody,

I want to know how to perform lookup operation dynamically.

Onething what I know is, I give some name in deployment descriptor and lookup for that name (i,e hardcoded value).

But I dont want to hardcode the lookup value. Is there a way to achieve it dynamically. plz suggest.

Thanks,
krishna
Nadeem Awad
Ranch Hand

Joined: Jan 09, 2005
Posts: 74
Originally posted by krishna chandra:
Is there a way to achieve it dynamically.


I think you can pass the JNDI Name as an Environment Entry.

Best regards,


Share Knowledge to gain it.<br /> <br />SCJP 1.2, SCDJWS 1.4, SCWCD 1.4, SCBCD 1.3, ICAD
 
jQuery in Action, 2nd edition
 
subject: How to lookup for an object dynamically
 
Similar Threads
JSF Form post to external URL
how to assign value to java bean using <jsp:setProperty> in jsp?
In Struts2 how to hide textfield dinamically.
dynamic swing screen generator
Packaging Business Delegate