Home » Enterprise Java » spring

spring

Spring Boot Profiles Tutorial

Welcome readers, in this tutorial, we will see how to load profiles (such as DEV, QA, or PROD) in a simple spring boot application. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring Boot and Profiles in the spring framework. 1.1 What is Spring boot? Spring boot ...

Read More »

Using Amazon SQS with Spring Boot

Welcome readers, in this tutorial, we will see how to set up a Standard Queue on Amazon SQS and create a simple spring boot application to send a message to the queue and retrieve from the queue. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring Boot ...

Read More »

Building a REST Service with Spring Boot and MongoDB

1. Introduction This is an in-depth article related to the Spring Boot based Rest Service with MongoDB. Spring Boot framework has features to build applications. Spring Boot has features related to building rest services with MongoDB and unit testing the application. 2. Spring Boot Rest Service using MongoDB 2.1 Prerequisites Java 8 or 9 is required on the Linux, windows ...

Read More »

How to Use Spring Retry Template

Welcome readers, in this tutorial, we will see the retry mechanism in a simple spring boot application. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring Boot, and Retry mechanism in spring framework. 1.1 What is Spring boot? Spring boot is a module that provides rapid application ...

Read More »

Establishing JDBC Connection in Java

In this post, we will learn how to establish a JDBC connection, from a Java program to an oracle database. Once we establish a connection, we will insert records into it. 1. Introduction JDBC is an acronym for Java Database Connectivity. It’s an advancement for ODBC ( Open Database Connectivity ). JDBC is an standard API specification developed in order ...

Read More »

Spring Boot Pagination Tutorial

In this tutorial, we will see the basic concepts of pagination with a simple spring boot application. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring boot, Docker, and Pagination. We are using Docker to communicate with PostgreSQL. 1.1 What is Spring boot? Spring boot is a ...

Read More »

Hive JDBC Connection Java Example

1. Introduction In this article, we will take a look at Hive JDBC. Hive is part of the Hadoop Ecosystem. It is used in Big Data solutions with Hadoop. It was developed by Facebook. Hadoop is an Apache Opensource project now. 2. Hive – JDBC Connection The Apache Hive project has featured in reading, writing, and managing big data. It ...

Read More »

Spring REST Docs Example

Welcome to the Spring REST Docs Example. So you have written your Web API and now you must provide documentation so that other people can use it. Spring REST Docs helps you document your RESTful services. The beauty of Spring REST Docs is whilst you are writing unit tests, you can use these tests to generate documentation for your HTTP ...

Read More »

Spring Boot with Redis Tutorial

Welcome readers, in this tutorial, we will see an interaction of Redis cache with a Spring boot application. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring boot, Docker, and Redis. 1.1 What is Spring boot? Spring boot is a module that provides rapid application development feature ...

Read More »

Spring Cloud Zipkin and Sleuth Example

Welcome readers, in this tutorial, we will show how to set up Spring Cloud Zipkin and Sleuth in a Spring Boot application. 1. Introduction Before starting the tutorial, we will look at the Spring Boot introduction. Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications ...

Read More »