Home » Tag Archives: Spring Boot (page 10)

Tag Archives: Spring Boot

How to Integrate H2 database in Spring Boot App

spring-interview-questions-answers

Hello Friends, In this tutorial, we will try to explore that how we can integrate with the H2 database in a Spring Boot application. Before we check that, let us understand a few of the basics about the H2 database, as mentioned below and then we will discuss the integration of the H2 database with  Spring Boot. What is the H2 ...

Read More »

“Knative Serving” for Spring Boot Applications

spring-interview-questions-answers

I got a chance to try Knative’s Serving feature to deploy a Spring Boot application and this post is simply documenting a sample and the approach I took. I don’t understand the internals of Knative enough yet to have an opinion on whether this approach is better than the deployment + services + ingress based approach. One feature that is ...

Read More »

Use React and Spring Boot to Build a Simple CRUD App

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. React was designed to make it painless to create interactive UIs. Its state management is efficient and only updates components when your data changes. Component logic is ...

Read More »

Jib – Building docker image for a Spring Boot App

I was pleasantly surprised by how easy it was to create a docker image for a sample Spring Boot application using Jib. Let me first contrast Jib with an approach that I was using before. I was creating docker images using bmuschko’s excellent gradle-docker plugin. Given access to a docker daemon and a gradle dsl based description of the Dockerfile ...

Read More »

Caching in Spring Boot with Spring Security

java-interview-questions-answers

In this post, I’d like to share a lesson learned by one of the teams at O&B. They were using Spring Boot with Spring Security. By default, anything that is protected by Spring Security is sent to the browser with the following HTTP header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate Essentially, the response will never be cached by the browser. While ...

Read More »

Spring Boot Complete Example

java-interview-questions-answers

This post provides a complete example of using spring boot to develop a loosely coupled REST service. Using spring boot, we can develop production ready java application which will run independently, as stand alone application with minimal dependencies and less coupling with other applications. Most of the time, spring boot application will provide a cohesive service and the boundaries of ...

Read More »

How to Create Spring Boot Project in STS

java-interview-questions-answers

Hello Friends, In this tutorial, we will see step by step, how we can create a Spring Boot project in STS (Spring Tool Suite). Step 1: Download Spring tool suite, if you don’t have already from the following link for your respective operating system : https://spring.io/tools/sts/all Step 2 : Extract and Open Spring tool suite by click on its icon, which ...

Read More »

Build a Photo Gallery PWA with Spring Boot, JHipster, and React

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. At its core, React is just a UI toolkit, ala GWT, but it has a very healthy ecosystem around it that provides everything you need to build ...

Read More »

Apache Camel 2.22 Released with Spring Boot 2 support

Today we released the latest Apache Camel 2.22.0 release which is the first release to officially fully support Spring Boot 2. This is a major effort as the Spring Boot v1 to v2 upgrade for a big framework like Apache Camel took some effort – so many thanks to the Camel team and the contributions. The support for Spring Boot ...

Read More »