Spring Boot sample application that demonstrates the configuration and use of JNDI with embedded Tomcat.
Spring Boot sample showing configuration of JNDI in embedded Tomcat
Repository from Github https://github.comynovytskyy/spring-boot-sample-tomcat-jndi