SpringBoot WebFlux Annotation-based RestAPIs

Reactive programming is about non-blocking applications. And Spring Framework 5 includes a new spring-webflux module, supports Reactive Streams for communicating backpressure across async components and libraries. So in the tutorial, JavaSampleApproach will guide you through the steps for creating a SpringBoot WebFlux Annotation-based restful APIs.

Related posts:
SpringData Reactive MongoDB Repositories | SpringBoot
SpringData Reactive Cassandra Repositories | SpringBoot
Reactor – Simple Ways to create Flux/Mono

[Continue reading…] “SpringBoot WebFlux Annotation-based RestAPIs”

SpringData MongoDB GridFsTemplate to save, retrieve, delete binary files (Image, Text files)

MongoDB provides GridFS for storing and retrieving large files with size limit of 16MB. So in the tutorial, JavaSampleApproach will show you how to work with SpringData Mongo GridFsTemplate to save, retrieve, delete binary files (Image, Text files).

Related posts:
How to use SpringData MongoRepository to interact with MongoDB
Spring MongoOperations to access MongoDB
MongoDB – Model One-to-One, One-to-Many Relationships Embedded Documents | SpringBoot

[Continue reading…] “SpringData MongoDB GridFsTemplate to save, retrieve, delete binary files (Image, Text files)”

SpringBoot Caffeine cache with PostgreSQL backend

Performance is a big problem in software development. And Caching is one solution to speed up system. In the tutorial, JavaSampleApproach will show you how to use SpringBoot Caffeine cache with PostGreSQL backend.

Related posts:
How to work with Spring Cache | Spring Boot
Couchbase – How to create Spring Cache Couchbase application with SpringBoot

[Continue reading…] “SpringBoot Caffeine cache with PostgreSQL backend”

Kotlin SpringJPA One-to-One relationship

In the tutorial, JavaSampleApproach will show you the way to create an Kotlin SpringJPA One-to-One relationship application with SpringBoot.

Related posts:
Kotlin SpringJPA Many-To-Many relationship
Kotlin SpringJPA Hibernate One-To-Many relationship
How to configure Spring JPA One to One Relationship – SpringBoot

[Continue reading…] “Kotlin SpringJPA One-to-One relationship”

Kotlin SpringJPA Many-To-Many relationship

In the tutorial, JavaSampleApproach will show you the way to create an Kotlin Spring Many-To-Many relationship application with SpringBoot.

Related posts:
Spring JPA – Many to Many relationship
Kotlin SpringJPA Hibernate One-To-Many relationship
Kotlin SpringJPA One-to-One relationship
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

[Continue reading…] “Kotlin SpringJPA Many-To-Many relationship”

Kotlin SpringJPA Hibernate One-To-Many relationship

In the tutorial, JavaSampleApproach will show you how to implement Kotlin SpringJPA Hibernate One-To-Many relationship application with SpringBoot.

Related posts:
Kotlin SpringJPA Many-To-Many relationship
How to configure Spring JPA One to Many Relationship – SpringBoot
Kotlin SpringJPA One-to-One relationship
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

[Continue reading…] “Kotlin SpringJPA Hibernate One-To-Many relationship”

Kotlin SpringBoot JQuery Ajax POST/GET requests

In the tutorial, JavaSampleApproach will show you how to send/retrieve data objects by Kotlin SpringBoot JQuery Ajax POST/GET application.

Related posts:
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example
Kotlin – How to start Kotlin development with SpringBoot + Maven + SpringToolSuite
How to integrate JQuery Ajax POST/GET & Spring MVC | Spring Boot

[Continue reading…] “Kotlin SpringBoot JQuery Ajax POST/GET requests”

Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

In the tutorial, JavaSampleApproach shows you how to create Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping using SpringBoot.

Related posts:
Kotlin SpringJPA Many-To-Many relationship
Kotlin Spring JPA + Postgresql | Spring Boot Example
Kotlin SpringJPA Hibernate One-To-Many relationship
Spring Framework 4.3 New Feature RequestMapping: @GetMapping, @PostMapping, @PutMapping, @DeleteMapping

[Continue reading…] “Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example”

Kotlin Spring JPA + Postgresql | Spring Boot Example

Spring JPA helps us improve our codes and reduce efforts for development and maintenance. It supports us the ways to write interface for repositories and custom finder methods, the implementation will be done automatically by Spring Framework. This Kotlin tutorial shows you how to create Kotlin Spring JPA application with PostgreSQL using Spring Boot.

Related posts:
Kotlin – How to start Kotlin development with SpringBoot + Maven + SpringToolSuite
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example
How to use Spring JPA with PostgreSQL | Spring Boot

[Continue reading…] “Kotlin Spring JPA + Postgresql | Spring Boot Example”

Kotlin – How to build a SpringBoot Kotlin RESTful Web Service with @RestController

In the tutorial, JavaSampleApproach will show you the first step to build a SpringBoot Kotlin RESTful Web Service.

Related posts:
Kotlin – How to start Kotlin development with SpringBoot + Maven + SpringToolSuite
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

[Continue reading…] “Kotlin – How to build a SpringBoot Kotlin RESTful Web Service with @RestController”

Kotlin – How to start Kotlin development with SpringBoot + Maven + SpringToolSuite

In the tutorial, JavaSampleApproach will help you with the first step for starting development with Spring Kotlin language by building a Kotlin HelloWorld example using SpringBoot, Maven and SpringToolSuite.

Related posts:
Kotlin – How to build a SpringBoot Kotlin RESTful Web Service with @RestController
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

[Continue reading…] “Kotlin – How to start Kotlin development with SpringBoot + Maven + SpringToolSuite”

Unit Test – Maven skip test with SpringBoot

In the tutorial, JavaSampleApproach will show you how to work with Maven skip test and SpringBoot.

Related posts:
@DataJPATest with Spring Boot
Spring Boot Unit Test for Spring MVC Controller

[Continue reading…] “Unit Test – Maven skip test with SpringBoot”

Couchbase – How to create Spring Cache Couchbase application with SpringBoot

Performance is a big problem in software development. And Caching is one solution to speed up system. In the past post, We are familiar with Couchbase database by learning how to build Spring JPA Couchbase application. So in the tutorial, JavaSampleApproach will continue to show you how to create Spring Cache Couchbase application with SpringBoot.

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

[Continue reading…] “Couchbase – How to create Spring Cache Couchbase application with SpringBoot”

Couchbase – How to create Spring JPA Couchbase application with SpringBoot

Couchbase server is an open source, distributed multi-model NoSQL document-oriented database. So in the tutorial, JavaSampleApproach will show you how to create a Spring JPA Couchbase with SpringBoot.

Related posts:
Couchbase – How to create Spring Cache Couchbase application with SpringBoot
How to use SpringData MongoRepository to interact with MongoDB
How to start Spring Data Cassandra with SpringBoot

[Continue reading…] “Couchbase – How to create Spring JPA Couchbase application with SpringBoot”

How to enable Json pretty-print rendered | Jackson + SpringBoot + RestApi

For convenience way to debug output data in development with human-readable output format, JavaSampleApproach shows you how to enable Json pretty-print of Jackson library.

Related posts:
Jackson to convert Java Object to/from Json String
How to use @JsonView to serialize/de-serialize and customize JSON format from Java Object

[Continue reading…] “How to enable Json pretty-print rendered | Jackson + SpringBoot + RestApi”

MongoDB – Model One-to-One, One-to-Many Relationships Embedded Documents | SpringBoot

With MongoDB, we can structure related data by embedded documents. In general, embedding gives a better performance for read operations. So in the tutorial, JavaSampleApproach will show you way to work with Embedded Documents using SpringBoot.

Related posts:
Spring JPA One to Many Relationship
SpringData MongoRepository
SpringData MongoDB GridFsTemplate to save, retrieve, delete binary files (Image, Text files)

[Continue reading…] “MongoDB – Model One-to-One, One-to-Many Relationships Embedded Documents | SpringBoot”

Apache Solr – How to start Spring Data Solr with SpringBoot

Solr powers the search with highly reliable, centralized configuration, scalablility and more for heavily-trafficked websites and applications. So in the tutorial, JavaSampleApproach will show how to create a Spring Data Solr application with SpringBoot.

Related posts:
How to start SpringBoot ElasticSearch using Spring Data

[Continue reading…] “Apache Solr – How to start Spring Data Solr with SpringBoot”

MariaDB – How to use Spring JPA MariaDB by 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.
About MariaDB, it is an open source leader, provides the solutions to run on all infrastructure.

So in the tutorial, JavaSampleApproach shows you how to create Spring JPA MariaDB application using Spring Boot.

Related posts:
How to use Spring JPA with PostgreSQL | Spring Boot
How to use Spring JPA MySQL | Spring Boot

[Continue reading…] “MariaDB – How to use Spring JPA MariaDB by Spring Boot”

Apache Artemis – How to produce/consume JMS messages with SpringBoot Artemis applications.

Apache ActiveMQ Artemis is a combined feature-set of ActiveMQ/HornetQ/Apollo. It provides a non blocking architecture for an outstanding performance. So in the tutorial, JavaSampleApproach will guide how to
create JMS producer/consumer by SpringBoot Artemis applications.

Related posts:
Spring JMS with ActiveMQ – JMS Consumer and JMS Producer | Spring Boot
Spring Apache Kafka Application with SpringBoot Auto-Configuration
Spring RabbitMQ Producer/Consumer applications with SpringBoot

[Continue reading…] “Apache Artemis – How to produce/consume JMS messages with SpringBoot Artemis applications.”

Spring JMS ActiveMq – How to implement a runtime SpringBoot ActiveMQ JmsResponse application

In the past post, we had learned how to build a SpringBoot application for handling ActiveMQ default destination by using @SendTo annotation. Can we compute the response destination at runtime? -> Yes, so with the tutorial, JavaSampleApproach will guide how to implement a SpringBoot ActiveMQ JmsResponse application with JmsResponse class.

Related posts:
ActiveMQ – How to create a SpringBoot ActiveMQ Response Management application by @SendTo annotation
Send Java object messages to ActiveMQ server (specially with Bi-Directional relationship Java objects)
Spring JMS ActiveMq Topic (Publisher-Subcribers pattern)

[Continue reading…] “Spring JMS ActiveMq – How to implement a runtime SpringBoot ActiveMQ JmsResponse application”

Spring Jms ActiveMQ – How to create a SpringBoot ActiveMQ Response Management application by @SendTo annotation

In the past posts, we had learned how to consume/produce ActiveMq JMS messages. Today, JavaSampleApproach will show you way to create a SpringBoot ActiveMQ Response Management application by @SendTo annotation.

Related posts:
Spring ActiveMQ JMS Consumer and JMS Producer
Send Java object messages to ActiveMQ server (specially with Bi-Directional relationship Java objects)
Spring JMS ActiveMq Topic (Publisher-Subcribers pattern)

[Continue reading…] “Spring Jms ActiveMQ – How to create a SpringBoot ActiveMQ Response Management application by @SendTo annotation”