Quantcast
Channel: biju.kunjummen
Browsing latest articles
Browse All 20 View Live

Scala Tail Recursion Confusion

I was looking at a video of Martin Odersky's keynote during Scala Days 2014 and there was a sample tail recursion code that...

View Article



Tailing a File - Spring Websocket Sample

This is a sample that I have wanted to try for sometime - A Websocket application to tail the contents of a file.The following is the final view of the...

View Article

Deploying a Spring Boot Application to Cloud Foundry with Spring-Cloud

I have a small Spring boot based application that uses a Postgres database as a datastore. I wanted to document the steps involved in...

View Article

Spring MVC Endpoint Documentation With Spring Boot

A long time ago I had posted about a way to document all the uri mappings exposed by a typical Spring MVC based application. The steps to do this...

View Article

Customizing HttpMessageConverters with Spring Boot and Spring MVC

Exposing a REST based endpoint for a Spring Boot application or for that matter a straight Spring MVC application is straightforward, the following...

View Article


Scala and Java 8 type Inference in Higher Order Functions Sample

One of the concepts mentioned in the Functional Programming in Scala is about the type inference in higher order functions in Scala and how it fails...

View Article

Spring WebApplicationInitializer and ApplicationContextInitializer confusion

These are two concepts that I mix up occasionally - a WebApplicationInitializer and an ApplicationContextInitializer, and wanted to describe each of them to...

View Article

Spring @Configuration and Injecting Bean Dependencies as Method Parameters

One of the ways Spring recommends injecting inter-dependencies between beans is shown in the following sample copied from the Spring's reference...

View Article


Spring @Configuration - RabbitMQ Connectivity

I have been playing around with converting an application that I have to use Spring @Configuration mechanism to configure connectivity to RabbitMQ - originally...

View Article


Docker RabbitMQ Cluster

I have been trying to create a Docker based RabbitMQ cluster on and off for sometime and got it working today - fairly basic and flaky but...

View Article

Spring Caching Abstraction and Google Guava Cache

Spring provides a great out of the box support for caching expensive method calls. The caching abstraction is covered in a great detail here.My objective...

View Article

Spring Boot Based Websocket Application and Capturing HTTP Session ID

I was involved in a project recently where we needed to capture the http session id for a websocket request - the reason was to determine the number of...

View Article

Spring Boot war Packaging

Spring boot recommends creating an executable jar with an embedded container(tomcat or jetty) during build time and using this executable jar as a standalone...

View Article


Externalizing Session State for a Spring Boot Application Using Spring-Session

Spring-session is a very cool new project that aims to provide a simpler way of managing sessions in Java based web applications. One of the features that...

View Article

Spring RestTemplate with a Linked Resource

Spring Data REST is an awesome project that provides mechanisms to expose the resources underlying a Spring Data based repository as REST...

View Article

Browsing latest articles
Browse All 20 View Live




Latest Images