I'm new in JNDI.
And I would want to know how I can define a specific jndi name for a datasource.
I mean: I have a MySQL database system which contains a database, for example: BASE,
I would like to access it through the jndi name java:comp/env/jdbc/MY-BASE
So where I specify, in the configuration of JBoss server, the 'link'
between that jndi name and the database source.
I hope the question is not too obscur.
Thanks for enlightments. ;)
Look into the jboss manual to the part Advanced container configuration/Declaring resource reference, the link is http://www.jboss.org/documentation/HTML/ch06s02.html that should anwser your question.