• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference with lookup  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Under what conditions it is desirable to use lookup with ("java:comp/mydatasource) and using lookup(“mydatasource”);


Please tell me the difference
 
dariyoosh za
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi Pavan wrote:Hi ,

Under what conditions it is desirable to use lookup with ("java:comp/mydatasource) and using lookup(“mydatasource”);


Please tell me the difference


Well, take a look to Sun JNDI tutorial, to understand the difference:

http://java.sun.com/products/jndi/tutorial/index.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!