File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to lookup for an object dynamically