Home » Tag Archives: Spring (page 6)

Tag Archives: Spring

Spring Boot and Database initialization

spring-interview-questions-answers

Spring boot is hands down a great framework, saving the developer a lot of time and energy when developing a spring application. One of its great features is database initialization. You can use spring boot in order to initialize your sql database. We will start with the gradle file group 'com.gkatzioura' version '1.0-SNAPSHOT' apply plugin: 'java' sourceCompatibility = 1.5 buildscript { repositories ...

Read More »

Laziness at extreme: developing JAX-RS services with Spring Boot

spring-interview-questions-answers

I think it would be fair to state that we, as software developers, are always looking for the ways to write less code which does more stuff, automagically or not. With this regards, Spring Boot project, proud member of the Spring portfolio, disrupted the traditional approaches, dramatically speeding up and simplifying Spring-based applications development. There is a lot to be ...

Read More »

Scatter-Gather using Spring Reactor Core

spring-interview-questions-answers

I have a good working experience in using the Netflix Rx-Java libraries and have previously blogged about using Rx-Java and Java 8 CompletableFuture for a scatter-gather kind of problems. Here I want to explore applying the same pattern using the Spring Reactor Core library. tldr – If you are familiar with Netflix Rx-Java, you already know Spring Reactor Core, the API’s map beautifully ...

Read More »

Spring Async and Java’s 8 CompletableFuture

spring-interview-questions-answers

It is known that I am not the biggest fan of Spring, but at the time being I work for an organization that maintains too many projects utilizing Spring (in different forms and versions). I still remain skeptic towards Spring, of course there are some very nice ideas, there are some nice (too many) abstractions, there are some very handy ‘shortcuts’ ...

Read More »

First steps to Spring Boot Cassandra

apache-cassandra-logo

If you want to start using Cassandra NoSQL database with Spring Boot, the best resource is likely the Cassandra samples available here and the Spring data Cassandra documentation. Here I will take a little more roundabout way, by actually installing Cassandra locally and running a basic test against it and I aim to develop this sample into a more comprehensive example with the next ...

Read More »

Spring Oauth2 with JWT Sample

spring-interview-questions-answers

Sometimes ago, we published one article sharing a custom approach to implement stateless session in cloud environment. Today, let explore another popular use case of setting up Oauth2 authentication for a Spring Boot application. In this example, we will JSON Web Token (JWT) as the format of the Oauth2 token. This sample was developed partly based on the official sample of ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns