This is where I take note of useful java code. Useful for me.
Is a matrioska project made for the exploration of opportunities from Java and related libraries. Is full of comments useful to note some information. Probably too much comments, but the aim of this project is to be a place of notes and not an operative microservice.
I do not think anyone except me will find it of any help.
You can run the application by using
./mvnw spring-boot:run
Alternatively, you can build the JAR file with
./mvnw clean package
and then run the JAR file, as follows:
java -jar target/exploration-<version>.jar
Yes, is full of bugs.
An incomplete list of sources where I took the examples
Guide | package | reference |
---|---|---|
Spring RESTful service | my.demo.exploration.libs.spring.restfulservice | https://spring.io/guides/gs/rest-service/ |
Spring configuration of RESTful service | my.demo.exploration.libs.spring.service.restful.configuration | https://www.baeldung.com/bootstraping-a-web-application-with-spring-and-java-based-configuration |
Spring configuration of MVC service | my.demo.exploration.libs.spring.service.mvc.configuration | https://www.baeldung.com/bootstraping-a-web-application-with-spring-and-java-based-configuration |
Spring Data JPA access | my.demo.exploration.libs.spring.service.restful.datajpa | https://spring.io/guides/gs/accessing-data-jpa/ |
Spring Data JPA access with Rest | my.demo.exploration.libs.spring.service.mvc.datajparest | https://spring.io/guides/gs/accessing-data-rest/ |
Spring Security for Authorization | my.demo.exploration.libs.spring.service.restful.security.authorization | https://docs.spring.io/spring-security/site/docs/5.0.7.RELEASE/reference/html/el-access.html |
Spring Security for Authentication | my.demo.exploration.libs.spring.service.mvc.security.authentication | https://spring.io/guides/gs/securing-web/ |
Introduction to QueryDSL | my.demo.exploration.libs.querydsl | https://www.baeldung.com/intro-to-querydsl |