Security In Spring Integration 1. Introduction In this article, we’ll focus on how we can use Spring Integration and Spring Security together in an integration flow. Therefore, we’ll set up a simple secured message flow to demonstrate the use of Spring Security in Spring Integration. Also, we’ll provide the example… Continue Reading spring-integration-security

Guide to the Hibernate EntityManager 1. Introduction EntityManager is a part of the Java Persistence API. Chiefly, it implements the programming interfaces and lifecycle rules defined by the JPA 2.0 specification. Moreover, we can access the Persistence Context, by using the APIs in EntityManager. In this tutorial, we’ll take a… Continue Reading hibernate-entitymanager

A Guide to the Spring Task Scheduler 1. Overview In this article, we’ll discuss the Spring task scheduling mechanisms – TaskScheduler and it’s pre-built implementations along with the different triggers to use. If you want to read more about scheduling in Spring, check @Async and @Scheduled articles. TaskScheuler was introduced… Continue Reading spring-task-scheduler

Comparing Embedded Servlet Containers in Spring Boot 1. Introduction The rising popularity of cloud-native applications and micro-services generate an increased demand for embedded servlet containers. Spring Boot allows developers to easily build applications or services using the 3 most mature containers available: Tomcat, Undertow, and Jetty. In this tutorial, we’ll… Continue Reading spring-boot-servlet-containers

A Guide to Spring Boot Configuration Metadata 1. Overview When writing a Spring Boot application, it’s helpful to map configuration properties onto Java beans. What’s the best way to document these properties, though? In this tutorial, we’ll explore the Spring Boot Configuration Processor and the associated JSON metadata files that… Continue Reading spring-boot-configuration-metadata