*
The moose likes JDBC and the fly likes can we give any name to jndi name? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "can we give any name to jndi name?" Watch "can we give any name to jndi name?" New topic
Author

can we give any name to jndi name?

prashan dassanayake
Greenhorn

Joined: Nov 07, 2008
Posts: 23
can we give any name to jndi name?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Essentially. (I'm sure there are some characters you can't put in it, but if you limit yourself to letters and numbers, all will be fine.

Convention says it should be of the form "jdbc/myJdbcName".


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
ou yang
Greenhorn

Joined: Oct 14, 2008
Posts: 10
yeah,you can use what you want.but you must follow some rules just like you defining a available name.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we give any name to jndi name?
 
Similar Threads
jndi lookup
How can I solve NameNotFoundException?
Problem while running a client
NoInitialContextException
Two Web App communicating problem