Spring Boot and Scala with sbt as the Build Tool
Earlier I had blogged about using Scala with Spring Boot and how the combination just works. There was one issue with the previous approach though - the...
View ArticleSpring Scala Based Sample Bean Configuration
I have been using Spring Scala for a toy project for the last few days and I have to say that it is a fantastic project, it simplifies Spring...
View ArticleSpring Rest Controller with angularjs $resource
Angularjs ngResource is an angularjs module for interacting with REST based services. I used it recently for a small project with Spring...
View ArticleSpring Integration Java DSL sample
A new Java based DSL has now been introduced for Spring Integration which makes it possible to define the Spring Integration message flows using pure...
View ArticleThymeleaf: fragments and angularjs router partial views
One more of the many cool features of thymeleaf is the ability to render fragments of templates - I have found this to be an especially useful feature to use...
View ArticleSpring Integration Java DSL sample - Further Simplification With JMS...
In an earlier blog entry I had touched on a fictitious rube goldberg flow for capitalizing a string through a complicated series of steps, the...
View ArticleScala 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 ArticleTailing 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 ArticleDeploying 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 ArticleSpring 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 ArticleCustomizing 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 ArticleScala 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 ArticleSpring 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 ArticleSpring @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 ArticleSpring @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 ArticleDocker 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 ArticleSpring 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 ArticleSpring 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 ArticleSpring 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 ArticleExternalizing 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
More Pages to Explore .....