Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and Relational Databases 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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

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".


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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.
 
Have you checked out Aspose?
 
subject: can we give any name to jndi name?
 
It's not a secret anymore!