Home » Tag Archives: Spring Boot

Tag Archives: Spring Boot

Angular 8 + Spring Boot 2.2: Build a CRUD App Today!

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. If you’ve been a Java developer for more than 15 years, you probably remember when there were a plethora of Java web frameworks. It started with Struts ...

Read More »

Spring Boot YAML Configuration

spring-interview-questions-answers

In this quick tutorial, we’ll learn how to use a YAML file to configure properties of a Spring Boot application. What is YAML File? Instead of having an application.properties in Spring, we can use the application.yml as our configuration file. YAML is a superset of JSON and we can use it for configuring data. The YAML files are more human-readable, especially ...

Read More »

Angular 8 + Spring Boot 2.2: Build a CRUD App Today!

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. If you’ve been a Java developer for more than 15 years, you probably remember when there were a plethora of Java web frameworks. It started with Struts ...

Read More »

Spring Boot Exit Codes – Create Custom Exit Code

spring-interview-questions-answers

When running a Spring Boot application, we get a system exit code of 0, when everything goes fine.  For any unhandled exceptions, the application returns with an exit code 1. It’s possible for us to return a custom exit code from our Spring Boot application. In this tutorial, we’ll learn to do so. Implementing ExitCodeGenerator: Let’s start by creating a ...

Read More »

Multiple Cache Configurations with Caffeine and Spring Boot

spring-interview-questions-answers

Caching is key for performance of nearly every application. Distributed caching is sometimes needed, but not always. In many cases a local cache would work just fine and there’s no need for the overhead and complexity of the distributed cache. So, in many applications, including plain Spring and Spring Boot, you can use @Cacheable on any method and its result ...

Read More »

Functional Hystrix using Spring Cloud HystrixCommands

spring-interview-questions-answers

Spring’s WebClient provides a non-blocking client for making service to service calls.Hystrix, though now in a maintenance mode, has been used for protecting service to service calls by preventing cascading failures, providing circuit breakers for calls to slow or faulty upstream services. In this post, I will be exploring how Spring Cloud provides a newer functional approach to wrapping a ...

Read More »

Spring Boot Error – Error creating a bean with name ‘dataSource’ defined in class path resource DataSourceAutoConfiguration

spring-interview-questions-answers

Hello guys, If you are using Spring Boot and getting errors like “Cannot determine embedded database driver class for database type NONE” or “Error creating a bean with name ‘dataSource’ defined in class path resource ataSourceAutoConfiguration” then you have come to the right place. In this article, we’ll examine different scenarios on which this Spring Boot error comes and what ...

Read More »

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 »