The fastest way to configure authentication in Tomcat is Basic Authentication. However, it is one of the weakest forms of authentication, and we should not
This post shows how to install Java 2 SDK 1.4 in Windows 7. If you’ve worked in IT consulting for some time, you will realize
Using WebFlux with Spring Boot is straightforward and may not require changes when moving from Spring MVC. We will still use the same set of
Suppose our application needs to email in text or HTML format; how can we do that without changing a lot of codes? We use templates!
When we implement authorization in Spring Boot with Spring Security, for instance, using the PreAuth annotation, we should never skip automated tests for it. We
We have designed the Headstart framework to be database-agnostic to support major database products with the help of Flyway. To achieve this database agnosticism, Headstart
One of my worries with Hibernate was the number of entities accumulating in a Persistence Context. If I were not careful, my codes could potentially
This article demonstrates how to use Hibernate Entity Manager 4.3.7 in a simple application.
Apache Commons Compress can be downloaded from http://commons.apache.org/compress/
This post shows how to use Java Stream Reduce with example codes. The idea of the reduce operation is the generation of a single result