Spring Boot Transactions: Understanding Transaction Propagation

In my previous tutorial, Spring Boot Transaction Management Example, we looked at transactions and implemented declarative transaction management. In this tutorial, we look at propagation and its different types. In the next tutorial, we will be looking at Spring Boot Transaction Rollback and Spring Boot Transaction Isolation.

What Is Transaction Propagation?

Any application involves a number of services or components making a call to other services or components. Transaction propagation indicates if any component or service will or will not participate in a transaction and how will it behave if the calling component/service already has or does not have a transaction created already.
Spring Boot Microservices Transaction Propagation

SOAP Web Services With Apache CXF and Spring Boot

This post is based on one I wrote a few years ago about building contract first web services with Apache CXF and Spring. The previous post didn't use Spring Boot and most of the Spring and CXF configuration was via XML. This post moves things forward a bit by using the latest version of CXF and Spring Boot.

Sample App

We're going to build a simple Spring Boot app that exposes SOAP web service using Apache CXF. The service will have a single operation that takes an account number and returns bank account details. If you're impatient and want to jump ahead you can grab the full source code from GitHub.

Spring Boot Tutorial for Beginners: Hello World Program

We will create a simple Hello world program in this article. We will use Spring Boot to create our first Hello World program.

Developing your first Spring Boot application is quite easy. As we know, Spring Boot makes it easy to create stand-alone, production-grade Spring-based applications that you can "just run." It's basically used to minimize the configuration or the boiler plate code.

Spring Boot and React: Happily Ever After

So you have mastered Spring Boot and started toying around with React. Now you want React to talk to your Boot app as your backend API. That's fabulous. You probably already know how to do this, but there is a kicker. You want to package them and start both of them as just one project.

Well, you're in luck! This post is going to take a couple of simple projects and combine them into one. Lace up your boots and get ready to React!

Building Web Applications With Spring, Cucumber, and Swagger

Why?

Because a lot of software developers spend a lot of time building production ready Java-based web applications (with APIs) that include an automated test suite.

My intention is to build a reference application using a proven/robust application stack which can then be used to build applications from the scratch, fast. Maybe 10X faster.

Building a Web Application Using Spring Boot, Angular, and Maven

Angular and Spring Boot are both great frameworks which are nowadays in great combination especially by java developers gladly used for building microservices.

In this article I want to show therefore how you can setup a parent maven project which includes an angular and spring boot child, which is finally be deployed on a tomcat server, including production ready jar with some pre-requisties.

Spring Boot/Batch Tutorial: Integration With HBASE REST API and Data Ingestion

Before reading this article you need some basic knowledge on REST, Spring Boot, and Spring Batch.

This article is focused on how to ingest data using Spring Boot/Batch and the HBase REST API. As Spring for Apache Hadoop project will reach End-Of-Life status on April 5th, 2019, using the REST API with Spring Batch helps us to interact with HBase directly from a Windows environment, so you don't need to deploy your jar to a Unix/Linux environment where your HBase is running.

Redirecting HTTP Requests With Zuul in Spring Boot

Zuul is part of the Spring Cloud Netflix package and allows redirect REST requests to perform various types of filters.

In almost any project where we use microservices, it is desirable that all communications between those microservices go through a communal place so that the inputs and outputs are recorded and can implement security or redirect requests, depending on various parameters.

Spring Boot: Run and Build in Docker

There are a lot of guides on “Docker for Java developers,” but most of them do not take care of small and efficient Docker images.

I have combined many resources on how to make a simple and fast Docker image containing any Spring Boot-like application.