This post demonstrates how to implement the Observer Design Pattern using the facilities made available by Spring Application Events.
This post demonstrates how to embed an ActiveMQ instance in Spring Boot and produce/consume messages with a simple example.
This post demonstrates how to use the @Conditional annotation which is the workhorse of Spring Boot’s automatic configuration. You may also use this technique in your own codes.
This post demonstrates how to render an XML to a file from a given XML template using Spring Boot and Thymeleaf.
This blog post demonstrates how to create Java Spring Boot applications in IntelliJ. As you may not know yet, Spring Boot allows for rapid development of applications. One of the important benefits of using Spring Boot is that it bundles all tested compatible versions of jar files.
This post demonstrates how to set all the bean properties with values from .properties file using Spring Boot. We are not going to set them one at a time. We want to set them all at the same time using the following Spring annot
This post demonstrates how to exclude the embedded tomcat dependencies in Spring Boot when using only Thymeleaf. Usually, we wouldn’t think that these dependencies are included when we haven’t selected the “Web” module in the Spring Initialzr.
If you are planning to take Java EE 6 Java Persistence API Developer Certified Expert (1Z0-898), this post is for you. It demonstrates how to create a sample application using Spring Boot, and JPA/Hibernate to aid in your study.
When an embedded in-memory H2 database is used with Spring Boot, your data can be accessed via H2’s web console available in your application. If you are using Spring Security, you may need to exclude the /h2-console URL from the authentication process.
Please be aware that this type of configuration is not ideal for production. I’d recommend it only for prototyping.
This post demonstrates how to convert your Spring Boot web application to a deployable WAR file for Tomcat.