Spring ThreadPoolTaskExecutor with Callable interface for concurrency programming

Callable is a Java interface that is an useful methodology for control multi-threading returns on concurrency development.

The tutorial will guide you to build a concurrency program with ThreadPoolTaskExecutor of Spring Framework and Callable interface.

[Continue reading…] “Spring ThreadPoolTaskExecutor with Callable interface for concurrency programming”

Spring Security – Config Security for Web MVC by Spring Boot

Security is an important of a Web Application, So The tutorial will guide you how to configure Security for a Web Application with Spring Boot.

Related Articles:
How to use Spring Security JDBC Authentication with PostgreSQL & Spring Boot
Spring Security – Customize Authentication Provider
Spring Security – Customize Login Handler
Spring Security Customize Logout Handler

[Continue reading…] “Spring Security – Config Security for Web MVC by Spring Boot”

Spring Boot with Docker Container

Docker is a new revolution for Linux container and it is a powerful tool for MicroService development.
The tutorial will guild you how to build a Spring Boot application and deploy it with Docker container.

[Continue reading…] “Spring Boot with Docker Container”

How to import CSV data to PostgreSQL Database using Spring Batch Job

Spring Batch is a powerful module to implement a batch process for tons of data conveniently.
This tutorial guide you how to import CSV Data to PostgreSQL Database using Spring Batch Job.

Related Articles:
How to start with Spring Batch using Spring Boot
How to use Spring JDBC Template for Postgres Database

[Continue reading…] “How to import CSV data to PostgreSQL Database using Spring Batch Job”

How to use Spring JDBC Template with Spring Boot for Postgres DataBase

The tutorial shows you how to use Spring JDBC Template to access  & manipulate database (Postgres DB) with Spring Boot.

[Continue reading…] “How to use Spring JDBC Template with Spring Boot for Postgres DataBase”

Spring JPA Web Support

Spring JPA Web support ships by a module for convenient programming with repository model.
– A DomainClassConverter helps to resolve an repository instance from request parameters or path variables.
– HandlerMethodArgumentResolver is helper for resolving Pageable and Sort instances from request parameters.

[Continue reading…] “Spring JPA Web Support”

How to configure Apache Log4j2 with Spring Boot

Apache Log4j2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in Logback while fixing some inherent problems in Logback’s architecture.The tutorial will introduce way to configure Log4j2 with Spring Boot

Related Posts:
Logging with SLF4J
Logging with SLF4J and Logback

[Continue reading…] “How to configure Apache Log4j2 with Spring Boot”

How to create a Windows Service for Spring Boot Application by Procrun

Procrun is a set of applications that allow Windows users to wrap (mostly) Java applications (e.g. Tomcat) as a Windows service. The service can be set to automatically start when the machine boots and will continue to run with no user logged onto the machine.

The tutorial will guide you how to create a Windows Service for Spring Boot Application by Procrun.

[Continue reading…] “How to create a Windows Service for Spring Boot Application by Procrun”

How to work with Spring AOP and AspectJ, Aspect, Advice, Pointcut, JoinPoint, Annotation | Spring Boot

Aspect-Oriented Programming (AOP) helps us cut across many methods, objects and type within the application without embedding it in the business logic. With Spring AOP and AspectJ, you can add additional behaviour to existing code without modifying the code itself.

The tutorial guides you how to work with Spring AOP and AspectJ using Spring Boot.

[Continue reading…] “How to work with Spring AOP and AspectJ, Aspect, Advice, Pointcut, JoinPoint, Annotation | Spring Boot”

How to start with Spring Batch using Spring Boot – Java Config

Many business operations need to process with batch job for critical environment. Spring Batch is a lightweight framework to boot the batch application. The tutorial will guide you how to start with Spring Batch using Spring Boot.

Related Articles:
How to start with Spring Batch using Spring Boot – XML Config
How to use Intercepting Job Execution in Spring Batch
How to use Spring Batch Restartable Function
Spring Batch – Programmatic Flow Decision
How to import CSV data to PostgreSQL Database using Spring Batch Job
How to configure Spring Batch Step for restart
How to use Spring Batch Late Binding – Step Scope & Job Scope
Spring Batch Partition for Scaling & Parallel Processing

[Continue reading…] “How to start with Spring Batch using Spring Boot – Java Config”

How to use Spring JPA with PostgreSQL | Spring Boot

In tradition approach, implementing Data Access Layer makes lots of boilerplate code. Spring JPA is a part of Spring Data, helps us improve our codes and reduce efforts for development and maintenance. Spring JPA supports us the ways to write interface for repositories and custom finder methods, the implementation will be done automatically by Spring Framework.

The tutorial shows you how to use Spring JPA with PostgreSQL using Spring Boot.

Related Posts:
How to use Spring JPA MySQL | Spring Boot
Spring JPA + PostgreSQL + AngularJS example | Spring Boot
How to use Spring JPA MariaDB | Spring Boot
Angular 4 + Spring JPA + PostgreSQL example | Angular 4 Http Client – Spring Boot RestApi Server

How to do this with Kotlin: Spring JPA + Postgresql | Spring Boot Example

[Continue reading…] “How to use Spring JPA with PostgreSQL | Spring Boot”

How to use Spring JMS with ActiveMQ – JMS Consumer and JMS Producer | Spring Boot

Spring JMS (Java Message Service) is a powerful mechanism to integrate in distributed system.
ActiveMq is a Java Open Source, it is simple JMS solution for concurrent, consumers and producers architecture in integrated development.
The tutorial will guide you how to build a simple application with Spring JMS, ActiveMQ.

Related Articles:
Apache Artemis – How to produce/consume JMS messages with SpringBoot Artemis applications.
ActiveMQ – How to create a SpringBoot ActiveMQ Response Management application by @SendTo annotation
How to start Spring Apache Kafka Application with SpringBoot
Spring Jms ActiveMq – How to send Java object messages to ActiveMQ server (specially with Bi-Directional relationship Java objects)
ActiveMq – How to work with Spring JMS ActiveMq Topic (Publisher-Subcribers pattern) using SpringBoot

[Continue reading…] “How to use Spring JMS with ActiveMQ – JMS Consumer and JMS Producer | Spring Boot”

How to work with Spring Cache | Spring Boot

Performance is a big problem in software development. And Caching is one solution to speed up system. The tutorial will guide you how to start with Spring Cache using Spring Boot.

Related posts:
Couchbase – How to create Spring Cache Couchbase application with SpringBoot
SpringBoot Caffeine cache with PostgreSQL backend

[Continue reading…] “How to work with Spring Cache | Spring Boot”

Infinispan Cache Solution | Spring Cache | Spring Boot

Infinispan cache is a distributed in-memory key/value data store, it is a excellent cache for software system.The tutorial will guide you how to start with Infinispan by Spring Boot for making a caching solution.

Related Articles:
How to start Embedded Gemfire Application with SpringBoot
How to create a SpringBoot Gemfire RestfulApi

[Continue reading…] “Infinispan Cache Solution | Spring Cache | Spring Boot”