File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes DataSource naming convention using JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "DataSource naming convention using JNDI" Watch "DataSource naming convention using JNDI" New topic

DataSource naming convention using JNDI

Ranch Hand

Joined: Jul 06, 2001
Posts: 257
What is the J2EE naming convention for binding logical names to data sources? I'm currently using JRun, and in their configuration manual they use the following convention...
java:comp/env/jdbc/{data source name}
I'm wondering if this is the J2EE convention, or perhaps JRuns convention. I'd like to stick to standards!
I agree. Here's the link:
subject: DataSource naming convention using JNDI
It's not a secret anymore!