Home » Tag Archives: Spring Boot

Tag Archives: Spring Boot

Integrate Spring Boot Application with Amazon Cognito

spring-interview-questions-answers

In this article, we will show how to use Amazon Cognito service for authentication users in a Spring Boot application using the OAuth 2.0 client library introduced in Spring Security 5.0. What is AWS Cognito? Amazon Cognito is service offered by AWS which provides user management services like sign up and sign in, in addition to providing support for granting ...

Read More »

Build a Microservice Architecture with Spring Boot and Kubernetes

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. In this tutorial, you’re going to use Kubernetes to deploy a Spring Boot microservice architecture to Google Cloud, specifically the Google Kubernetes Engine (GKE). You’re also going ...

Read More »

Spring Boot – How to skip cache thyemeleaf template, js, css etc to bypass restarting the server everytime

spring-interview-questions-answers

The default template resolver registered by Spring Boot autoconfiguration for ThyemeLeaf is classpath based, meaning that it loads the templates and other static resources from the compiled resources i.e, /target/classes/**. To load the changes to the resources (HTML, js, CSS, etc), we can Restart the application every time- which is of course not a good idea!Recompile the resources using CTRL+F9 ...

Read More »

Build Spring Microservices and Dockerize Them for Production

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. In this post, you’ll learn about microservices architecture and how to implement it using Spring Boot. After creating some projects with the technique, you will deploy the ...

Read More »

Are you ready to see GraphQL in action?

spring-interview-questions-answers

In last article we have discussed about GraphQL advantages over REST. In this article we will see GraphQL in action. I have created a sample application to showcase differences between REST and GraphQL. First we will see REST implementation of simple product detail end point. I have used Spring Boot to demonstrate REST. Download sample project and follow steps outlined ...

Read More »

A Quick Guide to OAuth 2.0 with Spring Security

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. When building a web application, authentication and authorization is a must. Doing it right, however, is not simple. Computer security is a true specialty. Legions of developers ...

Read More »

Secure Service-to-Service Spring Microservices with HTTPS and OAuth 2.0

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. Building a microservices architecture is possible with minimal code if you use Spring Boot, Spring Cloud, and Spring Cloud Config. Package everything up in Docker containers and ...

Read More »

Build a Reactive App with Spring Boot and MongoDB

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. Reactive apps allow you to scale better if you’re dealing with lots of streaming data. They’re non-blocking and tend to be more efficient because they’re not tying ...

Read More »

Centralized Authorization with OAuth2 & JWT using Spring Boot 2

spring-interview-questions-answers

This guide walks through the process to create a centralized authentication and authorization server with Spring Boot 2, a demo resource server will also be provided. If you’re not familiar with OAuth2 I recommend this read. Pre-req JDK 1.8Text editor or your favorite IDEMaven 3.0+ Implementation Overview For this project we’ll be using Spring Security 5 through Spring Boot. If you’re familiar with ...

Read More »