Home » Author Archives: Biju Kunjummen

Author Archives: Biju Kunjummen

Deploying akka-http app to Cloud Foundry

In a preceding post I had gone over the steps to deploy a simple akka-http app to Cloud Foundry. The gist of it was that as long there is a way to create a runnable fat(uber) jar, the deployment is very straightforward – Cloud Foundry’s Java buildpack can take the bits and wire up everything needed to get it up an running in ...

Read More »

Deploying akka-http app to Cloud Foundry

It is easy to deploy an akka-http application to Cloud Foundry. I experimented with a few variations recently and will cover ways to deploy an Akka-http based REST app in two parts – first a simple app with no external resource dependencies, the second a little more complex CRUD app that maintains state in a MySQL database. Pre Requisites A quick way to ...

Read More »

Practical Reactor operations – Retrieve Details of a Cloud Foundry Application

java-interview-questions-answers

CF-Java-Client is a library which enables programatic access to a Cloud Foundry Cloud Controller API. It is built on top of Project Reactor, an implementation of Reactive Streams specification and it is a fun exercise using this library to do something practical in a Cloud Foundry environment. Consider a sample use case – Given an application id I need to find a little more ...

Read More »

Spring Boot and Application Context Hierarchy

spring-interview-questions-answers

Spring Boot supports a simple way of specifying a Spring application context hierarchy. This post is simply demonstrating this feature, I am yet to find a good use of it in the projects I have worked on. Spring Cloud uses this feature for creating a bootstrap context where properties are loaded up, if required, from an external configuration server which is made available ...

Read More »

Spring Boot and Application Context Hierarchy

spring-interview-questions-answers

Spring Boot supports a simple way of specifying a Spring application context hierarchy. This post is simply demonstrating this feature, I am yet to find a good use of it in the projects I have worked on. Spring Cloud uses this feature for creating a bootstrap context where properties are loaded up, if required, from an external configuration server which is made available ...

Read More »

Using Kafka with Junit

One of the neat features that the excellent Spring Kafka project provides, apart from a easier to use abstraction over raw Kafka Producer and Consumer, is a way to use Kafka in tests. It does this by providing an embedded version of Kafka that can be set-up and torn down very easily. All that a project needs to include this support is ...

Read More »

Recipe for getting started with Spring Boot and Angular 2

I am primarily a service developer who has to create some passable UI’s once in a while. I was adept at basic AngularJS1 based UI’s and could get stuff done by using an approach that I have outlined before. With the advent of Angular 2 I had to unfortunately throw my previous approach out of the window and now have an approach ...

Read More »

Spring Kafka Producer/Consumer sample

spring-interview-questions-answers

My objective here is to show how Spring Kafka provides an abstraction to raw Kafka Producer and Consumer API’s that is easy to use and is familiar to someone with a Spring background. Sample scenario The sample scenario is a simple one, I have a system which produces a message and another which processes it         Implementation using ...

Read More »

RabbitMQ retries using Spring Integration

I recently read about an approach to retry with RabbitMQ here and wanted to try a similar approach with Spring Integration, which provides an awesome set of integration abstractions. TL;DR the problem being solved is to retry a message(in case of failures in processing) a few times with a large delay between retries(say 10 mins +). The approach makes use of ...

Read More »

Integrating with RabbitMQ using Spring Cloud Stream

spring-interview-questions-answers

In my previous post I wrote about a very simple integration scenario between two systems – one generating a work unit and another processing that work unit and how Spring Integration makes such integration very easy. Here I will demonstrate how this integration scenario can be simplified even further using Spring Cloud Stream I have the sample code available here – the right maven ...

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