Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

diff classpath and jndi

 
bharatyadav
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everbody,

When to use jndi.lookup mathod and when to use classpath

Thanks in advance
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You use JNDI to look up a resource (like a DataSOurce) or an EJB. The classpath is used by the IDE or java to compile - it is not something you use in coding yourself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic