Evolving Database using Spring Boot and Liquibase with YAML and SQL Configuration

In this tutorial I will show you an example on evolving database using Spring Boot and Liquibase with YAML and SQL configuration. We had seen similar example using XML configuration. I will also show you how to build application using both maven and gradle build tools. I will not tell you much details on Liquibase but you can always find…

Spring Boot Activiti – Process Engine Configuration

We have seen in our previous tutorial Spring boot activiti example how Business Process Management works using Activiti framework. In my previous tutorial I have used the default behavior of the process engine. In this tutorial I will show you how you can bootstrap the process engine using Spring JavaConfig to create our own spring boot activity process engine configuration. You can…

Spring Drools Integration Example

Introduction This tutorial is about Spring drools integration example and will show you how to define business rules in drools (.drl) file that could be understood by non-technical people as well. What is Drools? Drools is a business rule management system with a forward-chaining and backward-chaining inference based rules engine, allowing fast and reliable evaluation of business rules and complex…

Messaging With STOMP Over WebSockets using Spring Angular ActiveMQ

Web Socket I will create push notify messaging with STOMP over WebSockets using Spring and ActiveMQ. You might have seen similar tutorial at link WebSockets Using Spring Boot And Angular, but I used in-memory message broker but here I will use external message broker – ActiveMQ. I will use Angular for building front end or UI where message will be…

WebSocket Using Spring Boot And Angular

Web Socket Web Socket is a very thin, lightweight layer above TCP used to build interactive web applications that send messages back and forth between a browser and the server. The best examples are live updates websites, where once user access the website neither user nor browser sends request to the server to get the latest updates. Server only keeps…

Spring Boot Liquibase Gradle Example with XML based Configuration

Introduction In this example I will show you how to use Liquibase to maintain your database changes history over the time. I will use here XML based configuration for Liquibase. It is often important to consider when developing web application, how to evolve the database schema of a Java web application. I will tell you how to build project using…

Spring Boot Activiti Example

Introduction Spring Boot activiti example shows the simplicity of embedding Business Process Management (BPM) into our application using Activiti. We will build a spring boot application that embeds standards-based Business Process Modeling Notation (BPMN) logic into our application. Activiti has advanced process design tools for embedding more sophisticated BPM logic into our application. These tools include an Eclipse-based and Web-Based…

Tomcat load balancing with Apache using mod proxy

This tutorial will show you how to configure Tomcat Load Balancing with Apache webserver (http server) using Mod Proxy. I have listed here the following steps on how to configure Apache with Tomcat to configure Load Balancer using Mod Proxy. Having load-balanced is always recommended in production environment for better availability and performance of your application resources. Load balancing improves…

Spring Boot Multi-module Project

Introduction In this example we will see how to work with spring boot multi-module project and deploy them together in embedded Tomcat server. The Tomcat Server comes with the Spring Boot API, so we don’t need to include extra jar or library for it. The individual module is also deployable. You may also want to use other server like Jetty…

Spring JCache support

Introduction We will create an example on Spring JCache Support. Spring provides seamless JCache integration. In this example, I am using EhCache as a JCache specification provider. JCache is JSR 107 specification that provides annotations support such as @CacheResult, @CachePut, @CacheRemove and @CacheRemoveAll.