This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.sql.DataSource  RSS feed

 
Justin Chu
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the above class is just an interface, how is it that I can specify javax.sql.DataSource in tomcat's server.xml file as follows

[ May 16, 2002: Message edited by: Chu Tan ]
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chu
I'm not an expert with the tomcat config files but from what I know the Resource tag specifies a resource to be stored/available from a JNDI lookup. Just like in RMI, the type of the object returned is the type of the interface that the object implements.
hope that helps
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!