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

Firebase Storage – Get List of Files example – Image List | Android

We had known the way to upload/download data. In this tutorial, we’re gonna look at way to get list of files example – display list of Images with Firebase UI Database FirebaseRecyclerAdapter.

Related Posts:
Firebase Storage – Upload Data from Memory, Local File, Stream | Android
Firebase Storage – Download Files to Memory, Local File | Android

[Continue reading…] “Firebase Storage – Get List of Files example – Image List | Android”

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”

Firebase Storage – Download Files to Memory, Local File | Android

In previous post, we had known the way to upload data. This tutorial shows you how to download Files to Memory, Local File with Firebase Cloud Storage.

Related Post:
Firebase Storage – Upload Data from Memory, Local File, Stream | Android

More Practice:
Firebase Storage – Get List of Files example – Image List | Android

[Continue reading…] “Firebase Storage – Download Files to Memory, Local File | Android”

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”

Firebase Storage – Upload Data from Memory, Local File, Stream | Android

Firebase Cloud Storage helps us upload and share rich content data. Data is stored in a Google Cloud Storage bucket. With Firebase, we can perform robust operations (download/upload) regardless of network quality with strong security (Cloud Storage integrates with Firebase Authentication) and high scalability.

In this tutorial, we’re gonna look at ways to upload data from Memory, Local file, Stream in an Android App using Firebase Storage.

More practice:
Firebase Storage – Download Files to Memory, Local File | Android
Firebase Storage – Get List of Files example – Image List | Android

[Continue reading…] “Firebase Storage – Upload Data from Memory, Local File, Stream | Android”

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”

Firebase Realtime Database – Display List of Data with FirebaseRecyclerAdapter | Android

In previous post, we had known how to read/write list of data object. Today, we’re gonna look at way to display List of Data in an Android App with FirebaseUI FirebaseRecyclerAdapter.

Related Articles:
Firebase Realtime Database – Read/Write Data example | Android
Firebase Realtime Database – Get List of Data example | Android

[Continue reading…] “Firebase Realtime Database – Display List of Data with FirebaseRecyclerAdapter | Android”

Firebase Realtime Database – Get List of Data example | Android

In previous post, we had known how to read/write single data object. Today, we’re gonna look at way to get List of Data in an Android App.

Related Article:
Firebase Realtime Database – Read/Write Data example | Android

More Practice:
Firebase Realtime Database – Display List of Data with FirebaseRecyclerAdapter | Android

[Continue reading…] “Firebase Realtime Database – Get List of Data example | Android”

Firebase Realtime Database – Read/Write Data example | Android

Firebase Realtime Database is a cloud-hosted database that helps us to store and sync data with NoSQL cloud database in realtime to every connected client. In this tutorial, we’re gonna look at way to read/write data in an Android App.

More Practice:
Firebase Realtime Database – Get List of Data example | Android
Firebase Realtime Database – Display List of Data with FirebaseRecyclerAdapter | Android

[Continue reading…] “Firebase Realtime Database – Read/Write Data example | Android”

Firebase Authentication – Google Sign In | Android

In previous post, we had built a simple register/login Android App using Firebase Email & Password authentication. Now we can let users authenticate with Firebase using Google Accounts by integrating Google Sign In into Android App.

Related articles:
Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android
Firebase Authentication – Send Reset Password Email / Forgot Password | Android

[Continue reading…] “Firebase Authentication – Google Sign In | Android”

Firebase Authentication – Send Reset Password Email / Forgot Password | Android

In previous post, we have known way to implement Sign up, Sign in/out, Verify Email. Today, we continue to take a look at way to send Reset Password Email in case User forgot Password.

*Note: This tutorial bases on code in related post:
Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android

We just add an Activity to App for handling Reset Password Email and some statements to old code for logic.

[Continue reading…] “Firebase Authentication – Send Reset Password Email / Forgot Password | Android”

Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android

Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app. In this tutorial, we’re gonna build a simple register/login Android App using Firebase Email & Password authentication.

More practice:
Firebase Authentication – Send Reset Password Email / Forgot Password | Android

Related post:
Firebase Authentication – Google Sign In | Android

[Continue reading…] “Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android”