Hello Friends
What I would like to find out is if we have a
global datasource resource defined in the server as jdbc/datasource1 and if in the bean definition we have
java:comp/env/jdbc/datasource1 as the jndiname will the web.xml resource ref USED or NOT. Will there be direct look up to JNDI or not? As the code seems to work without it even if i comment the web.xml resource references if we have a jndi name used in bean definition?
Also I think this should be the right bean definition and web.xml entries which will make use of web.xml references (Note:
jdbc removed to avoid direct Jndi lookup)
Please can you comment your thaughts in it?
SCJP, SCWCD, SCBCD, SCEA 5