How to configure data source with built-in tomcat in heroku

Please know that I cannot use spring. I need a data source with JNDI lookup for use in persistence.xml. Is it possible? If spring is the only way to do this, then this is disappointment.

+4
source share
1 answer

Check out: https://github.com/jesperfj/webapp-with-jndi

Provides an example application that does just that.

+3
source

Source: https://habr.com/ru/post/1433780/


All Articles