This tutorial will help you have a deep view of Java 8 Streams: what they are, ways to create them, how they work with intermediate operations, terminal operation…
MongoDB is an open-source NoSQL document database, written using C++. This tutorial will introduce way to use Spring Boot to access MongoDB and perform CRUD operations with Spring MongoOperations.
– How to build SpringBoot MongoDb RestfulApi
– How to use SpringData MongoRepository to interact with MongDB
– SpringData MongoDB GridFsTemplate to save, retrieve, delete binary files (Image, Text files)
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.
Method References make it clear when referring to the existing method by name.
When using lambda expression without input arguments or those input arguments doesn’t make sense, we can use Method References to simplify the syntax.
This tutorial introduces four kinds of Method References and how to use them efficiently with some Functional Interfaces.
Functional Interfaces is one of the new important things of Java 8. In previous article, we had a little view about common use cases of Lambda Expression including Runnable and ActionListener. They are example of Functional Interfaces.
This tutorial helps you have deeper concept of Functional Interface, then some interfaces which are provided in java.util.function package such as Predicate and Function.
Lambda expressions are new feature in Java 8. We now can represent one method interface by using an expression.
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.
– 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
Abstract factory pattern is a Super-Factory of a group familiar factories. We can use it to expose API for integration code and hidden the logic implementation. Abstract Factory gives us a way to manage and decouple design in case Program has more than one Factory having the same Interface.
The tutorial will guide you a sample for how to program with Abstract Factory Pattern.
Factory Pattern is a kind of Creation Pattern. Factory Pattern provides an interface for integration and hidden the complex implementation of related components.
The tutorial will help you create a factory pattern based on concept above.
Singleton Pattern is a design pattern which you often meet in almost applications. Singleton Pattern provides a way to instantiate only one instance in an application context.
The tutorial introduces the design of Singleton Design Pattern and give many ways to create a Singleton Pattern in your application.
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.
For scaling a Batch Job, Parallel Steps is one solution that bases on the business logic of application. We split the logic business in distinct responsibilities, and each step can be executed in parallelized flow. The tutorial will guide you how to configure parallel steps with Spring Batch.
In application development, sometimes we should make different configuration for each environment. Spring Profiles provides a way to separate application configuration into some parts and they are only available in one or more specific environments.
This tutorial introduces ways to use Spring Profiles by @Profile Annotation or XML Configuration.
Neo4j is a highly scalable, native graph database. Spring Data supports Spring Neo4J for Graph Database: annotated POJOs, SD-Repositories and Neo4j-Template.
Tutorial will guides you how to work with Spring Neo4j.
How to start Spring Batch XML Config – use Spring Boot
Many business operations need to process with batch job for critical environment. Spring Batch is a lightweight framework to boot the batch application.
For starting, you can follow the How to start with Spring Batch using Spring Boot – Java Config. In the tutorial I will guide you how to start with XML config.
– How to start with Spring Batch using Spring Boot – Java 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
@Value Annotations vs Environment vs @ConfigurationProperties.
This tutorial helps you have a comparison view covering those solutions.
We can load properties value from Properties file to Spring Environment just by using @PropertySource annotation. This tutorial shows you the simple way to get them from Environment object.
– Inject Properties from Properties File using @Value annotation
– Inject Properties from Properties File using @ConfigurationProperties Annotation
– How to use Spring Factory Method to create Spring Bean
This tutorial will show you the better way to handle properties using @ConfigurationProperties Annotation.
In previous article, we have learned about using @Value annotation to inject properties from properties file. This approach has disadvantage that if we wanna change any property, we have to update all files which referenced it.
Java is an Object Oriented Programming Language. Object and Class are 2 main concepts of Java.
What are Java Object & Java Class?
The tutorial will introduce Java Object & Java Class.
How to initialize the state of Java object?
The tutorial will introduce Java Constructor for resolving above question.
Spring XD Option Module is an approach to expose metadata of each module for configuration. The tutorial will guide you how to configure PostgreSQL Datasource with Spring XD Annotation: @ModuleOption.