This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to lookup for an object dynamically  RSS feed

 
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,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!