SpringData Reactive Cassandra Repositories | SpringBoot

Reactive programming is about non-blocking applications. With the previous post, we had learned how to use SpringBoot WebFlux. In the tutorial, JavaSampleApproach will explore more about SpringData Reactive Cassandra Repositories with a set of high-level abstraction CRUD methods.

Related posts:
SpringBoot WebFlux Annotation-based RestAPIs
Reactor – Simple Ways to create Flux/Mono
How to start Spring Data Cassandra with SpringBoot

[Continue reading…] “SpringData Reactive Cassandra Repositories | SpringBoot”

SpringData Reactive MongoDB Repositories | SpringBoot

Reactive programming is about non-blocking applications. With the previous post, we had learned how to use SpringBoot WebFlux. In the tutorial, JavaSampleApproach will explore more about SpringData Reactive MongoDB Repositories with a set of high-level abstraction CRUD methods.

Related posts:
SpringBoot WebFlux Annotation-based RestAPIs
Reactor – Simple Ways to create Flux/Mono

[Continue reading…] “SpringData Reactive MongoDB Repositories | SpringBoot”

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

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”

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”

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”

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

In the tutorial, JavaSampleApproach will guide how to build a Spring Data Rest application for Jpa One-To-Many relational entities with SpringBoot.

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

[Continue reading…] “Spring Data Rest – How to create a RestAPIs with JPA One-to-Many relational entities | SpringBoot + MySql + HAL Browser”

How to use HAL Browser with Spring Data Rest | SpringBoot + MySQL

In the previous post, we had learned how to create a Spring Data Rest application, and use Postman to navigate arround restAPIs. Are there any tools good for interacting with Spring Data Rest application? -> Yes, Hal Browser is an useful tool for development by using it to follow the restfulAPIs, modify and create a new resource. So in the tutorial, JavaSampleApproach shows how to use Hal Browser with Spring Data Rest.

Related posts:
How to access MySQL database with Spring Data Rest application
Spring Data Rest – How to create a RestAPIs with JPA One-to-Many relational entities | SpringBoot + MySql + HAL Browser

[Continue reading…] “How to use HAL Browser with Spring Data Rest | SpringBoot + MySQL”

How to access MySQL database with Spring Data Rest application

Spring Data REST is a combination between Spring HATEOAS and Spring Data JPA. So in the tutorial, JavaSampleApproach show you way to create a Spring Data Rest application to manipulate data with MySQL.

Related posts:
How to build SpringBoot MongoDb RestfulApi
How to use HAL Browser with Spring Data Rest | SpringBoot + MySQL
Spring Data Rest – How to create a RestAPIs with JPA One-to-Many relational entities | SpringBoot + MySql + HAL Browser

[Continue reading…] “How to access MySQL database with Spring Data Rest application”

ActiveMq – Explicitly configure Spring ActiveMq ConnectionFactory with SpringBoot

In the past tutorial, we had learned how to start a Spring JMS ActiveMQ application with auto-configured ConnectionFactory by SpringBoot.
But in the software development, there’re many cases that we need to override the ContainerFactory, so How to do it? JavaSampleApproach makes the tutorial to guide how to explicitly configure Spring ActiveMQ ConnectionFactory.

Related posts:
How to use Spring JMS with ActiveMQ – JMS Consumer and JMS Producer | Spring Boot
How to start Spring Kafka Application with Spring Boot
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…] “ActiveMq – Explicitly configure Spring ActiveMq ConnectionFactory with SpringBoot”

How to use SpringData MongoRepository to interact with MongoDB

In the past post, we had learned how to work with MongoDB by MongoOperations which supports a set of standard APIs to manipulate data. So in the tutorial, JavaSampleApproach will show a powerful tool SpringData MongoRepository with flexible and more complex APIs to interact with MongoDB.

Related articles:
Spring MongoOperations to access MongoDB
How to build SpringBoot MongoDb RestfulApi
SpringData MongoDB GridFsTemplate to save, retrieve, delete binary files (Image, Text files)

[Continue reading…] “How to use SpringData MongoRepository to interact with MongoDB”

How to query alter domain models by Spring JPA Projection – SpringBoot + MySQL database

When you query with Spring Data, normally the results are full domain models. But in various cases, we need to alter the returned data with another view by customized fields, how to do it?
-> In the tutorial, JavaSampleApproach will show a solution to modify returned domain model by Spring JPA Projection.

Related articles:
How to configure Spring JPA One to One Relationship – SpringBoot

[Continue reading…] “How to query alter domain models by Spring JPA Projection – SpringBoot + MySQL database”

Integrate H2 database with SpringBoot & Spring JPA in Embedded mode

H2 database is a pure Java, open source and very fast engine. We can use H2 for development, testing and performance benchmarking. So in the tutorial, JavaSampleApproach will show how to integrate H2 database with SpringBoot and Spring JPA in Embedded mode.

[Continue reading…] “Integrate H2 database with SpringBoot & Spring JPA in Embedded mode”

How to create Composite Primary Key – Spring JPA + Spring Boot + MySQL

In the tutorial, JavaSampleApproach will introduce step-by-step to create Composite Primary Key with @Embeddable annotation.

Related articles:
How to configure Spring JPA One to Many Relationship – SpringBoot

[Continue reading…] “How to create Composite Primary Key – Spring JPA + Spring Boot + MySQL”

How to start Spring Data Cassandra with SpringBoot

Apache Cassandra database is a NoSql solution for scalability & high availability. In the tutorial, JavaSampleApproach will show you how to start Spring Data Cassandra by sample code.

Related article:
How to start SpringBoot ElasticSearch using Spring Data
Couchbase – How to create a Spring Jpa Couchbase application with SpringBoot
SpringData Reactive Cassandra Repositories | SpringBoot

[Continue reading…] “How to start Spring Data Cassandra with SpringBoot”

How to configure Spring JPA One to One Relationship – SpringBoot

This tutorial will guide you through the steps of configuring Spring JPA One to One relationship with Spring Boot and MySql.

Related articles:
Spring JPA One to Many Relationship
Spring JPA – Many to Many relationship

[Continue reading…] “How to configure Spring JPA One to One Relationship – SpringBoot”