Sample Maven project with CRUD Web App using SpringMVC & SpringBoot
- Controller uses JSP/JSTL as view technology
- Simple Entity CRUD JSP views
- Uses SpringBoot for application bootstraping
- Simple DAOMap for testing purpose
- Sample DAOJpa and Spring JdbcTemplate implementations
- Uses Spring CDI with qualifiers for DAO selection
- JEE Datasource definition in web.xml
- SpringBoot H2 DataSource and JPA configuration (application.properties)
- Bean Validation with customized messages on ValidationMessages.properties
- SpringMVC Default controller for static routing and logout
- SpringBoot custom error pages
- Webjar dependencies for BootStrap CSS integration
- JDK 17
- Command line:
mvn spring-boot:run
- Configure Spring Datasource in application.properties
- Select JPA DAOs implementation in controller
- Optional: edit sample data on
src/main/resources
import.sql file