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”

Spring Bean Definition Inheritance | Spring Boot

Bean Definition Inheritance is a good solution for defining new bean which inherited certain bean conveniently.

We will learn how to use XML configuration to create Inheritance from Bean with parent or abstract template.

[Continue reading…] “Spring Bean Definition Inheritance | Spring Boot”

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 Apache Camel: Message Router with Spring Boot

Apache Camel supports most of the Enterprise Integration Pattern, an engine for routing message. The tutorial will guide you how to start with Apache Camel by Spring Boot.

Related Articles:
How to start Spring Apache Kafka Application with SpringBoot
How to use Spring JMS with ActiveMQ – JMS Consumer and JMS Producer | Spring Boot

[Continue reading…] “How to start Apache Camel: Message Router with 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

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”

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”

Spring Web MVC – Spring Form Submission | Spring Boot

Web Form Submission is regular task when developing a Web page. In the tutorial, JavaSampleApproach will introduce you how to use Spring Form Submission when building a Spring MVC Web page.

Related Posts:
1. How to integrate Http Angularjs & Spring Boot
2. How to integrate JQuery Ajax POST/GET & Spring Boot

[Continue reading…] “Spring Web MVC – Spring Form Submission | Spring Boot”