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”
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
– Logging with SLF4J
– Logging with SLF4J and Logback
[Continue reading…] “How to configure Apache Log4j2 with Spring Boot”
Spring Bean Life Cycle is very important because in many applications, we want to create some operations before initializing a Bean or make some operations before bean’s destruction.
This tutorial introduce four ways to control life cycle events of a Bean.
[Continue reading…] “Spring Bean Life Cycle – Callback Interface, Custom Method, Annotation, Aware Interface”
The tutorial shows you the way to implement Bean Scopes (Singleton, Prototype, Request and Session) using Annotation @Scope. Except Singleton and Prototype Scope, the others are only valid in the context of a web-aware Application.
Related Article: Spring Bean Scope – Singleton and Prototype
[Continue reading…] “Spring Bean Scope using Annotation – Singleton, Prototype, Request, Session, Global Session, Application”
Elasticsearch is a distributed, full-text search engine based on Lucene with JSON schema. It is an open source and implemented by Java.
– ElasticSearch – Structure of a Search Request/Response
– ElasticSearch Filter vs Query
– ElasticSearch Full Text Queries – Basic
[Continue reading…] “Elasticsearch”
Spring Bean Scopes helps you control the scope of the objects which are created from bean definition. This approach is wonderful because you can choose the scope by configuring bean instead of working at Java class level.
The Spring Framework supports 7 scopes, but this tutorial introduces you 2 of them: singleton scope and prototype scope. The others will be discussed in next article.
[Continue reading…] “Spring Bean Scopes – Singleton and Prototype”
Spring supports us the way to inject Collection with type: List, Set, Map and Properties. So we can pass a bundle of direct data values or reference of beans to Collection Objects.
The tutorial shows you how to use XML configuration to do those things.
How to use Spring Factory Method to create Spring Bean
[Continue reading…] “How to inject Collection in Spring”
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”
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”
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”
Apache ServiceMix is a flexible, a powerful runtime platform for integrations solutions.
The tutorial will introduce you how to use Service Mix with Apache Camel & ActiveMQ for routing message solution
Related Article: How to start Apache Camel: Message Router with Spring Boot
[Continue reading…] “Router Message: Apache Camel & Service Mix”
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.
– 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
[Continue reading…] “How to use Spring JPA with PostgreSQL | Spring Boot”
Google BigQuery is a solution for query with massive datasets. Bigquery is a excellent solution of Google with Dremel technology. With Bigquery, no need hardware configuration, no need setup administration.
Tutorial will show you how to start with Bigquery with Java.
[Continue reading…] “How to start with BigQuery – Google Cloud”
Spring Form Submission to PostgreSQL – Spring Boot
The tutorial will introduce you how to submit a web form to PostgreSQL database.
[Continue reading…] “Spring Form Submission to PostgreSQL – Spring Boot”
This tutorial guides you how to start a Spring Application with simple Hello World example.
[Continue reading…] “Spring Hello World example with Eclipse”
The Spring Framework consists of features organized into various modules. A module specifies to an area. These modules are grouped into Core Container, Data Access/Integration, Web, AOP (Aspect Oriented Programming), Instrumentation, Messaging, and Test.
[Continue reading…] “Spring Framework Architecture”
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.
– How to start Embedded Gemfire Application with SpringBoot
– How to create a SpringBoot Gemfire RestfulApi
[Continue reading…] “Infinispan Cache Solution | Spring Cache | Spring Boot”