-Replace old import statements for the new locations -Mark the aggregate as @Aggregate to make it autowired through the spring boot starter -Move all command handlers/decision making functions to the top of the file -Rename the command handler to `handle` as a best practice for command handlers -Use @EventSourcingHandler i.o. @EventHandler as a best practice for event handlers in Aggregates, as those only are used to 'source' the aggregate -Update test case according to latest standards
The "REST with Spring" Classes
Here's the Master Class of REST With Spring (along with the newly announced Boot 2 material):
>> THE REST WITH SPRING - MASTER CLASS
And here's the Master Class of Learn Spring Security:
>> LEARN SPRING SECURITY - MASTER CLASS
Java and Spring Tutorials
This project is a collection of small and focused tutorials - each covering a single and well defined area of development in the Java ecosystem.
A strong focus of these is, of course, the Spring Framework - Spring, Spring Boot and Spring Securiyt.
In additional to Spring, the following technologies are in focus: core Java, Jackson, HttpClient, Guava.
Building the project
To do the full build, do: mvn install -Pdefault -Dgib.enabled=false
Building a single module
To build a specific module run the command: mvn clean install -Dgib.enabled=false in the module directory
Running a Spring Boot module
To run a Spring Boot module run the command: mvn spring-boot:run -Dgib.enabled=false in the module directory