Spring Boot Cassandra CRUD example with Spring Data

In this tutorial, we’re gonna build a Spring Boot example that use Spring Data Cassandra to make CRUD operations with Cassandra database and Spring Web MVC for Rest APIs. You’ll know:

  • How to configure Spring Data to work with Cassandra Database
  • How to define Cassandra Data Models and Cassandra Repository interfaces
  • Way to create Spring Rest Controller to process HTTP requests
  • Way to use Spring Data Cassandra to interact with Cassandra Database

Exception Handling:
Spring Boot @ControllerAdvice & @ExceptionHandler example
@RestControllerAdvice example in Spring Boot

Read More

Pagination with Angular 8 + Spring Boot example

In this tutorial, I will show you how to build a full-stack Pagination (Angular 8 + Spring Boot) example on Server side. The back-end server uses Spring Data and Spring Web for REST APIs, front-end side is an Angular 8 App with HTTPClient.

Newer versions:
with Angular 10
with Angular 11
with Angular 12

Related Posts:
Angular 8 + Spring Boot + MySQL example: CRUD App
Angular 8 + Spring Boot + PostgreSQL example: CRUD App
Angular 8 + Spring Boot + MongoDB example: CRUD App
Angular 8 + Spring Boot: JWT Authentication with Spring Security example
Angular 8 + Spring Boot: File upload example

Read More


Spring Boot: Upload & Read CSV file into MySQL Database | Multipart File

A CSV (comma-separated values) file is a plain text file that contains data which format is described in RFC4180. Each row has a number of fields, separated by commas. Each line should contain the same number of fields throughout the file. In this tutorial, I will show you how to upload, read CSV file data and store into MySQL Database using Spring Boot & Apache Commons CSV.

Related Posts:
Spring Boot Multipart File upload example
How to upload multiple files in Java Spring Boot
Spring Boot Download CSV file from Database example

Excel file instead:
Spring Boot: Upload/Import Excel file data into MySQL Database

Deploy Spring Boot App on AWS – Elastic Beanstalk
Docker Compose: Spring Boot and MySQL example

Read More