Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

diff classpath and jndi  RSS feed

 
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
Sheriff
Posts: 36396
453
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
Boost this thread!