Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to lookup for an object dynamically

 
krishna chandra
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic