Home » Tag Archives: Spring (page 3)

Tag Archives: Spring

Intro to Redis with Spring Boot

1. Overview In this article, we will review the basics of how to use Redis with Spring Boot through the Spring Data Redis library. We will build an application that demonstrates how to perform CRUD operations Redis through a web interface. The full source code for this project is available on Github. 2. What is Redis? Redis is an open ...

Read More »

Spring boot and Apache Camel

As the world of software moves on, more complex systems are being developed, which have to integrate with each other. It started with SOA and it continues with microservices. Camel is the number one integration tool that comes to my mind since nowadays spring boot with camel is a very strong combination.               The ...

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 »

How to Deploy Spring Application Without web.xml to Tomcat

spring-interview-questions-answers

Introduction Since the Servlet 3 specification web.xml is no longer needed for configuring your web application and has been replaced by using annotations. In this article, we will look at how to deploy a simple Spring-based application without web.xml to Tomcat 8.5.*. Creating an Empty Application Use the following command to create an empty web application using maven webapp archetype: ...

Read More »

Using Google reCaptcha with Spring Boot application

spring-interview-questions-answers

Introduction reCaptcha by Google is a library used to prevent bots from submitting data to your public forms or accessing your public data. In this post, we will look at how to integrate reCaptcha with a Spring Boot based web application Setting up reCaptcha You should create an API key from admin panel. You have to create a sample app ...

Read More »

Secure Your Java App with Spring Security, Thymeleaf, and Okta

spring-interview-questions-answers

Never Build Auth Again – Love building user management? With Okta, you can add social login, multi-factor authentication, and OpenID Connect support to your app in minutes. Create a free developer account today. When you’re building your java app, user management is a critical consideration. It’s common for apps and APIs to partition access to different parts of an application, ...

Read More »

Why is Spring’s Health Down, Down, Up, Up, Up and Down again?

Why Our new JavaScript client application regularly calls the /health endpoint of our Grails backend to determine on- of offline state. Things started to become “funny” with it. This endpoint we get for free, since Grails is based on Spring Boot, which comes with a sub-project called Spring Boot Actuator. This gives us a a bunch of endpoints which allows ...

Read More »