Home » Tag Archives: Spring Boot (page 5)

Tag Archives: Spring Boot

Perils of opinionated frameworks, like Spring Boot. Inverting for opinionated code

spring-interview-questions-answers

We developers like abstraction.  Without it, we could not build applications.  Our programming disciplines even require that we code to abstractions and avoid coupling our code to detailed implementations. However, what is the right abstractions for your application? Sadly, the choice of abstractions really comes from our choice of framework.  Frameworks are basically abstract solutions that we extend to solve ...

Read More »

Deploy a Spring Boot Application into Tomcat

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. Deploying applications is hard. Often you need console access to the server from which you pull the latest code and then manually instantiate into your container. In ...

Read More »

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 »