Spring boot application that connects to database using JNDI datasource on embedded tomcat server.
- Spring Boot
- Spring Data JPA
- MySql DB
- Hibernate
- Maven
Java 1.8 or greater, Spring boot 2.0 or greater, Maven, IntelliJ or Eclipse
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes:
- Create database called 'user' for testing purposes.
- import the project in IntelliJ or Eclipse.
- Or build the project using maven to get a jar file.
- Use any rest client like postman to test the end point for users.
These are the articles that helped me complete this application:
- Roy Tutorials - Configure JNDI DataSource with Spring Boot