File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
How to lookup for an object dynamically
Joined: Sep 18, 2005
Sep 18, 2005 22:19:00
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.
Joined: Jan 09, 2005
Sep 19, 2005 01:18:00
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.
Share Knowledge to gain it.<br /> <br />SCJP 1.2, SCDJWS 1.4, SCWCD 1.4, SCBCD 1.3, ICAD
I agree. Here's the link:
subject: How to lookup for an object dynamically
dynamic swing screen generator
Packaging Business Delegate
how to assign value to java bean using <jsp:setProperty> in jsp?
JSF Form post to external URL
In Struts2 how to hide textfield dinamically.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015