Home » Author Archives: Biju Kunjummen (page 2)

Author Archives: Biju Kunjummen

Spring-Reactive samples

spring-interview-questions-answers

Spring-Reactive aims to bring reactive programming support to Spring based projects and this is expected to be available for the timelines of Spring 5. My intention here is to exercise some of the very basic signatures for REST endpoints with this model. Before I go ahead let me acknowledge that this entire sample is completely based on the samples which Sébastien Deleuze has ...

Read More »

Cloud Foundry Java Client – Streaming events

java-interview-questions-answers

Cloud Foundry Java Client provides Java based bindings for interacting with a running Cloud Foundry instance. One of the neat things about this project is that it has embraced the Reactive Stream based API’s for its method signatures, specifically using the Reactor implementation, this is especially useful when consuming streaming data. In this post I want to demonstrate a specific use case where ...

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 »

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 Boot with Scala

spring-interview-questions-answers

A while back I had tried out a small Spring Boot  based sample with Scala as the language and found that the combination works out quite nicely – no big surprises there actually as Scala programs ultimately run in the JVM. I have now updated the sample with the latest version of Spring Boot and some of the supporting libraries. ...

Read More »

Spring Cloud Ribbon – Making a secured call

spring-interview-questions-answers

Something simple, but I struggled with this recently – I had to make a Netflix Ribbon based client call to a secured remote service. It turns out there are two ways to do this using Netflix Ribbon, I will demonstrate this through Spring Cloud’s excellent support for Ribbon library. In two previous blog posts I have touched on Spring Cloud ...

Read More »

JWT – Generating and validating a token – Samples

json-logo

JWT provides a very interesting way to represent claims between applications that can be verified and trusted. My objective here is to show a small sample to generate and validate a token using the excellent Nimbus JOSE + JWT library. Overview One of the best places to get an intro is here. In brief, to borrow from the material from ...

Read More »

Spring Cloud Rest Client with Netflix Ribbon – Basics

spring-interview-questions-answers

In an earlier blog post I had covered the different options for a REST client in the Spring Cloud world. All the options wrap around a Netflix OSS based component called Ribbon which handles the aspects related to loadbalancing the calls across different instances hosting a service, handling failovers, timeouts etc. Here I will cover a few ways to customize ...

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