RESTfull web services with Spring Boot, Jersey and hibernate using PostgreSQL database (Java configuration).
Technologies:
- Java 8
- Maven 3
- Spring Boot 1.1.9.RELEASE
- Jersey 2.7
- Hibernate 4
- PostgreSQL
To test, first execute SQL query located at resources folder against jersey-demo database and populate with some dummy data.
Update credentials in SqlInitialization class
dataSource.setUsername("your-username"); dataSource.setPassword("your-password");
mvn clean package && mvn spring-boot:run or mvn clean package && java -jar target/spring-boot-jersey-hibernate-1.0-SNAPSHOT.jar
Go to: localhost:8080/products