A skeleton project using Spring 4.x, Spring Boot, SpringMVC, Spring AOP, and Swagger.
This is a work in progress, but starts to illustrate the basics of Spring 4.x, using Spring MVC.
The package structure is not what I consider ideal. I would typically have two different models, one to represent the web model and one to represent the persistence model. Along with a service that is not bound to Spring or SpringMVC, such that the API and its implementation is not bound to the web service bindings, but more on that later.
> mvn clean package
> java -jar target/socialstream-1.0-SNAPSHOT.jar
- API Documentation:
http://localhost:8080/swagger/index.html