This post demonstrates a basic use-case for using Apache Camel with Spring Boot – copy a file to another directory. This basic example will enable you to understand other concepts.
Spring Boot – List all Beans loaded in the ApplicationContext
With Spring Boot, a lot of beans get loaded into the ApplicationContext depending on your dependencies selection. This post shows a code snippet used to list all the beans loaded in the ApplicationContext.
Consume RESTful Web Services in Java using RestTemplate
This post demonstrates how to use Spring’s RestTemplate to consume RESTful web services in Java. The codes used are used in a SOA or Microservices context but the key code snippet is about RestTemplate.
Build/Install Maven Projects in Separate Directors in Travis CI via GitHub
This blog demonstrates how to build/install maven projects in separate directories in Travis CI via GitHub.com
Selenium IDE for First Timers
This post demonstrates how to use Selenium IDE for first timers testers and even developers.
Convert Spring Boot to Deployable WAR for Tomcat
This post demonstrates how to convert your Spring Boot web application to a deployable WAR file for Tomcat.
Access Embedded in-memory H2 Used in Spring Boot
When we use an embedded in-memory H2 database with Spring Boot, we can access the data via H2’s web console. If we use Spring Security, we need to exclude the /h2-console URL from the authentication process. You also need to
Render XML using Thymeleaf
This post demonstrates how to render an XML to a file from a given XML template using Spring Boot and Thymeleaf.
Spring Boot, JPA/Hibernate for Java EE 6 Java Persistence API Developer Certified Expert 1Z0-898
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.
Flyweight Design Pattern in Java
The Flyweight design pattern can be summarized in three (3) words – minimize and share. In fact, I would label it as “minimize-and-share”. It makes it easier to remember and relate to the actual solution.