Please know that I cannot use spring. I need a datasource with a JNDI lookup for use in persistence.xml. Is it possible? If spring is the only way to do this, then that is a disappointment.
Check out: https://github.com/jesperfj/webapp-with-jndi
Provides an example app that does exactly that.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago