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:
How to use SpringData MongoRepository to interact with MongoDB
How to use Spring JPA with PostgreSQL | Spring Boot
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

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

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”