Home » Tag Archives: Spring Boot (page 6)

Tag Archives: Spring Boot

The Hypermedia APIs support in JAX-RS and OpenAPI: a long way to go

Sooner or later, most of the developers who actively work on REST(ful) web services and APIs stumble upon this truly extraterrestrial thing called HATEOAS: Hypertext As The Engine Of Application State. The curiosity of what HATEOAS is and how it relates to REST would eventually lead to discovery of the Richardson Maturity Model which demystifies the industry definitions of REST ...

Read More »

Asynchronous RDBMS access with Spring Data R2DBC

spring-interview-questions-answers

Not too long ago, a reactive variant of the JDBC driver was released. Known as R2DBC. It allows data to be streamed asynchronously to any endpoints that have subscribed to it. Using a reactive driver like R2DBC together with Spring WebFlux allows you to write a full application that handles receiving and sending of data asynchronously. In this post, we ...

Read More »

Difference between @ContextConfiguration and @SpringApplicationConfiguration in Spring Boot Integration Test

spring-interview-questions-answers

Even though both @ContextConfiguration and @SpringApplicationConfiguration annotations are used along withSpringJUnit4ClassRunner to specify how to load the Spring application context, there is a subtle difference between them. Although @ContextConfiguration does a great job in loading application context it doesn’t take full advantage of Spring Boot features. Spring Boot applications are ultimately loaded by either SpringApplication ( in case of the ...

Read More »

Build a Web App with Spring Boot and Spring Security in 15 Minutes

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. Developers know that securing web apps can be a pain. Doing it right is tough. The worst part is that “right” is a moving target. Security protocols ...

Read More »

Spring-Boot 2.1.x and overriding bean definition

spring-interview-questions-answers

I was recently migrating an application from Spring Boot 1.5.X to Spring Boot 2.X and saw an issue with overriding Spring Bean definitions. One of the configurations was along these lines in Kotlin: @Configuration class DynamoConfig { @Bean fun dynamoDbAsyncClient(dynamoProperties: DynamoProperties): DynamoDbAsyncClient { ... } @Bean fun dynampoDbSyncClient(dynamoProperties: DynamoProperties): DynamoDbClient { ... } } Now, for a test I wanted ...

Read More »

Bootiful Development with Spring Boot and Vue

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. Vue is a web framework that’s gotten a lot of attention lately because it’s lean and mean. Its baseline framework cost is around 40K and is known ...

Read More »

Spring Boot Hibernate Tips

spring-interview-questions-answers

1. Overview Hibernate needs no introduction. It is the most popular ORM out there for Java. Similarly, Spring Boot is the most powerful, and easy to use framework out there for Java. This tutorial isn’t about Hibernate or Spring Boot, there are tons of them out there. We’ll look into some common errors that you may run into when using ...

Read More »

Build a Basic App with Spring Boot and JPA using PostgreSQL

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. Every non-trivial application needs a way to save and update data: a resource server that is accessible via HTTP. Generally, this data must be secured. Java is ...

Read More »

Apache Camel 2.23 released

Yesterday Apache Camel 2.23 was released which most noteworthy new feature is support for Spring Boot 2.1, where we also improved the starter components to include more metadata and more optimized for the improved Spring Boot auto configuration. This release is mainly a big bug fix release and some other minor new features. One of these features is to allow for ...

Read More »