How to transfer an Image with RestfulAPI – Image RestfulApi

Exchange Images between Client & Server is a common problem in programming. So in the tutorial: How to transfer an Image with RestfulAPI – Image RestfulApi, JavaSampleApproach will guide you how to build a restful Api for exchanging images with Spring Boot & Spring RestTemplate & Java8-Base64

Related posts:
1. How to use Spring RestTemplate client for consuming Restful WebService
2. How to use Java 8 Encode (Decode) an Image to Base64

[Continue reading…] “How to transfer an Image with RestfulAPI – Image RestfulApi”

How to use Spring Batch Restartable Function

SpringBatch provides a restartable mechanics with a Job, in the How to use Spring Batch Restartable Function tutorial, JavaSampleApproach will present to you the principle of this function with SpringBoot.

Related Post:
1. How to configure Spring Batch Step for restart
2. How to start with Spring Batch using Spring Boot – Java Config
3. Spring Batch XML Config by Spring Boot
4. Spring Batch Job with Parallel Steps
5. How to import CSV data to PostgreSQL Database using Spring Batch Job

[Continue reading…] “How to use Spring Batch Restartable Function”

How to build SpringBoot MongoDb RestfulApi

In the tutorial, JavaSampleApproach will show you way to build a SpringBoot MongoDB RestfulApi.

Related Articles:
Spring MongoOperations to access MongoDB
How to use SpringData MongoRepository to interact with MongDB
How to access MySQL database with Spring Data Rest application
How to use HAL Browser with Spring Data Rest | SpringBoot + MySQL
Angular 4 + Spring Boot + MongoDB CRUD example

[Continue reading…] “How to build SpringBoot MongoDb RestfulApi”

Spring Framework 4.3 New Feature RequestMapping: @GetMapping, @PostMapping, @PutMapping, @DeleteMapping

Spring Framework 4.3 has some Web improvements. In the article, JavaSampleApproach will introduce you about New Feature RequestMapping: @GetMapping, @PostMapping, @PutMapping, @DeleteMapping, and @PatchMapping.

Related Posts:
Spring MVC – @RequestMapping with Methods, Headers, Params, @PathVariable and @RequestParam
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

[Continue reading…] “Spring Framework 4.3 New Feature RequestMapping: @GetMapping, @PostMapping, @PutMapping, @DeleteMapping”

How to configure Spring RestTemplate Security

In the tutorial, JavaSampleApproach will guide you how to configure Spring RestTemplate Security.

Related post: How to use Spring RestTemplate client for consuming Restful WebService

[Continue reading…] “How to configure Spring RestTemplate Security”

How to use Spring JPA MySQL | Spring Boot

In tradition approach, implementing Data Access Layer makes lots of boilerplate of 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.

In the tutorial, JavaSampleApproach will show you way to use Spring JPA MySQL using Spring Boot.

Related articles:
How to use Spring JPA with PostgreSQL | Spring Boot
How to use Spring JPA MariaDB | Spring Boot
How to access MySQL database with Spring Data Rest application
Angular 4 + Spring JPA + MySQL example | Angular 4 Http Client – Spring Boot RestApi Server

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

How to configure multi Postgres DataSources with Springboot

In the tutorial, JavaSampleApproach will guide you how to configure multi Postgres DataSources with Spring Boot.

[Continue reading…] “How to configure multi Postgres DataSources with Springboot”

How to use Spring RestTemplate client for consuming Restful WebService

In the tutorial, JavaSampleApproach introduces you a central class RestTemplate that Spring provides for simplified handles restful connection and parsing results.

Related posts:
How to use Spring RestTemplate client for consuming Restful WebService
Spring WebClient with Spring Webflux | SpringBoot 2

[Continue reading…] “How to use Spring RestTemplate client for consuming Restful WebService”

How to create a SpringBoot Gemfire RestfulApi

Spring Data REST provides a mechanics for creating and retrieving an Object from Gemfire storage.
In the article, JavaSampleApproach will introduce you how to create a Gemfire RestfulAPI.

Related Articles:
How to start Embedded Gemfire Application with SpringBoot
Infinispan Cache Solution | Spring Cache | Spring Boot

[Continue reading…] “How to create a SpringBoot Gemfire RestfulApi”

How to integrate Http Angularjs with Spring MVC | Spring Boot

$http is an AngularJS service for communication with remote servers. In the article, JavaSampleApproach will show you way to integrate Http AngularJs and Spring Boot.

Related Articles:
How to configure AngularJs – SpringBoot
How to integrate Angular 4 with SpringBoot Web App and SpringToolSuite
MultipartFile – How to create Spring AngularJs MultipartFile application to download/upload files | SpringBoot + AngularJs + Bootstrap.
AngularJs POST-GET Nested Objects to SpringBoot server
AngularJs POST-GET LIST Objects to SpringBoot server

[Continue reading…] “How to integrate Http Angularjs with Spring MVC | Spring Boot”

How to start Embedded Gemfire Application with SpringBoot

Gemfire is a memory caching solution for scaling software system, JavaSampleApproach will guide you how to create an Embedded Gemfire Application with SpringBoot.

Related article:
Infinispan Cache Solution | Spring Cache | Spring Boot
How to create a SpringBoot Gemfire RestfulApi

[Continue reading…] “How to start Embedded Gemfire Application with SpringBoot”

Spring Boot Unit Test for Spring MVC Controller

Spring provides powerful features to make controller tests by creating request and receiving response without need of deploying code to a web container. This tutorial introduces Spring Boot Unit Test for Spring MVC Controller.

Related posts:
UnitTest – Maven skip test with SpringBoot
@DataJPATest with Spring Boot
How to use Spring JPA MySQL | Spring Boot

[Continue reading…] “Spring Boot Unit Test for Spring MVC Controller”

How to configure AngularJs with Spring MVC | SpringBoot

AngularJS is a JavaScript framework, extends HTML and very strong for Single Page Applications. In the tutorial AngularJs SpringBoot, JavaSampleApproach will guide you how to integrate Angularjs with Spring Boot.

Related articles:
How to integrate Http Angularjs with Spring MVC | Spring Boot
How to integrate Angular 4 with SpringBoot Web App and SpringToolSuite

[Continue reading…] “How to configure AngularJs with Spring MVC | SpringBoot”

Spring Security – Customize Authentication Provider

In the article, JavaSampleApproach will guide you how to customize Authentication Provider with Spring Security support.

Related Articles:
Spring Security – Config Security for Web MVC by Spring Boot
Spring Security – Customize Login Handler
Spring Security Customize Logout Handler
How to use Spring Security JDBC Authentication with PostgreSQL & Spring Boot

[Continue reading…] “Spring Security – Customize Authentication Provider”

Spring Security – Customize Login Handler

Spring Security provides lots of API for handling our program, the tutorial will guide you how to Customize Login Handler.
For How to start with Spring Security, you can follow the link: Spring Security – Config Security for Web MVC by Spring Boot

Related Articles: Spring Security Customize Logout Handler

[Continue reading…] “Spring Security – Customize Login Handler”

Spring Security Customize Logout Handler

Spring Security provides lots of function for handling our program, the tutorial will guide you how to Customize Logout Handler.
For How to start with Spring Security, you can follow the link: Spring Security – Config Security for Web MVC by Spring Boot

Related Articles:
How to use Spring Security JDBC Authentication with PostgreSQL & Spring Boot
Spring Security – Customize Authentication Provider
Spring Security – Config Security for Web MVC by Spring Boot
Spring Security – Customize Login Handler

[Continue reading…] “Spring Security Customize Logout Handler”

Spring JPA – Many to Many relationship

This tutorial will guide you through the steps configuring Many to Many relationship in database with Spring JPA, Spring Boot & PostgreSql.

Related articles:
How to configure Spring JPA One to One Relationship – SpringBoot
How to configure Spring JPA One to Many Relationship – SpringBoot
Spring Data Rest – How to create a RestAPIs with JPA Many-to-Many relational entities | SpringBoot + MySql + HAL Browser

[Continue reading…] “Spring JPA – Many to Many relationship”

Spring MongoOperations to access MongoDB

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.

Related Articles:
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)
Angular 4 + Spring Boot + MongoDB CRUD example

[Continue reading…] “Spring MongoOperations to access MongoDB”

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 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”