Home » Tag Archives: Spring Boot

Tag Archives: Spring Boot

Reactive Streams with Spring Data Cassandra

Today we are going to look at reactive Spring Data Cassandra. This post is actually very similar to one that I did on Reactive Spring Data MongoDB with the only real difference being that they are obviously using different databases. For background information that will not be included in this post have a look at Getting started with Spring Data ...

Read More »

Spring Boot as a Windows Service in 5 minutes

java-interview-questions-answers

I recently had to deploy a Spring Boot application as a windows service and am surprised how easy it was using winsw. I’d previously written about using procrun – Java Programs as Windows Services, but winsw is much easier Getting Started There is a Section 59 of the Spring Boot documentation is about Installing Spring Boot applications, and points you ...

Read More »

Startup and shutdown scripts in Spring Data Cassandra

Shorter post this time round, it feels nice to get something finished faster than 2 weeks for once. Today we will look at startup and shutdown scripts in Spring Data Cassandra. This is something I probably should of done myself ages ago as it would of made testing my earlier posts much easier. I spent so much time (slightly over ...

Read More »

More complex modelling with Spring Data Cassandra

I’ve got a bit more Spring Data Cassandra for you now, this will be my 4th post on the subject and I should probably get onto something else but your stuck with this for now! In this post we will look at a slightly larger example than what I have shown in my previous posts so that we can have ...

Read More »

Using Micrometer with Spring Boot 2

spring-interview-questions-answers

This is a very quick introduction to using the excellent Micrometer library to instrument a Spring Boot 2 based application and recording the metrics in Prometheus Introduction Micrometer provides a Java based facade over the client libraries that the different monitoring tools provide. As an example consider Prometheus, if I were to integrate my Java application with Prometheus, I would have used ...

Read More »

AJAX with CKEditor in Spring Boot

java-interview-questions-answers

1. Overview In this article, we will cover how to use CKEditor with Spring Boot. In this tutorial, we will be importing an XML document with numerous data, program the ability to load a set of data to the CKEditor instance with a GET request, and do a POST request to save the CKEditor’s data. Technologies we will be using include ...

Read More »

Spring Boot web application with Gradle

1. Introduction Before we move on to create our demo Spring Boot web application with Gradle, I assume we all are ready with the Gradle setup. Guide to Gradle Setup Gradle Official Website 2. Creating Demo Application Now that we ready with the plugin installed, create a new Gradle project as shown below –     Clicking on Next, specify ...

Read More »

Multiple keyspaces using a single Spring Data CassandraTemplate

Following on from my last post Separate keyspaces with Spring Data Cassandra we will continue looking into using multiple keyspaces in Cassandra but this time focusing on using a single CassandraTemplate to perform queries, rather than creating extra templates for each keyspace that is being used. This removes the need to create extra sessions as each CassandraTemplate uses a session ...

Read More »