Do i HAVE TO specify the reference of the datasource I will be using in the web.xml? Yes, I know it is a good practise, but can I lookup the datasource with an absolute JNDI path that I specify in the server's admin console?
SJCP, SCBCD, SJCD, SCDJWS, SCEA (Part I)
posted 9 years ago
Hey Dushy Inguva,
I think answer to your question lies more or less on which EJB version you are using.....
Well, with EJB 3.0 there is no need to specify any mapping in your xml files and you can directly invoke the references(with jndi name) through dependency injection.
Is this is what you are referring to ???
Cheers !!! Sumit Malik
If at first you don't succeed, don't try skydiving