SpringOne 2GX 2013
Last week, I had the privilege of speaking at SpringOne 2GX in Santa Clara. As the name implies, the conference was focused around Spring, Groovy and Grails. The conference tagline was “The Spring...
View ArticleImprove Your Spring REST API, Part IV
Spring 4 is around the corner. Milestone releases has been available for a while, the first release candidate was released earlier today, and the final release is expected before the end of this year. […]
View ArticleSpring and Autowiring of Generic Types
Spring 4 brings some nice improvements to how autowiring of generic types are handled. Before going into details, let’s look into the current state of affairs. Basics Consider the following example...
View ArticleSpring @PropertySource
If you are a Spring developer and and you have created a Java based container configuration, you have probably come across the @PropertySource annotation for importing resources. It was first added as...
View ArticleAbout ExecutorServices
Dealing with asynchronous programming is not easy, at least not if you are a Java programmer. Not only do you have to take care of Callables, Runnables, Futures and likes, you also need to […]
View ArticleGeeCON 2014
Last week we visited the GeeCON conference in Krakow as speakers and participants. The event attracted some 1200 visitors according to the organizers, and it was located inside a cinema complex a few...
View ArticleIntegration Testing a Spring Boot Application
Spring Boot brings about some welcome defaults configurations that significantly decreases the development time of Spring projects. It also has some useful additions when it comes to simplified...
View ArticleSpring Boot custom HealthIndicator
A big part of the DevOps responsibilities is to monitor and maintain the health of running servers. If a production server goes down, appropriate actions must be undertaken to bring the service back to...
View ArticleAsynchronous Spring Service
It is not unusual that your web service needs to communicate with another web service in order to serve its clients. In the old days, that would imply that an incoming request to your […]
View ArticleSpring Boot Error Responses
I have written about Spring’s support for web response error handling a few times before (e.g. about custom error responses and how they can be generalized). This time, we will take a look at […]
View ArticlejUnit @Rule and Spring Caches
If you have worked a while with jUnit you may have seen jUnit Rules. Simply put, a field in a test class annotated with @Rule is a class that lets you execute some code […] The post jUnit @Rule and...
View ArticleScaling out with Spring Session
Stateless architecture has become increasingly popular during resent years and for good reasons. However, stateful session based applications continue to play an important role, for example when...
View ArticleReusing Spring Boot’s Dependency Management
If you develop a Spring Boot application and are using Gradle, you have already used the Spring Boot Gradle plugin. It serves several different purposes such as packaging your project to an executable...
View ArticleWorking Efficiently with Gradle Modules
Gradle has the ability to check if a task is up to date and more importantly skip the task if it finds that the task input is unchanged compared to the latest build. This […] The post Working...
View ArticleCustom Resource for Generating Lambdas
AWS Lambda enables you to quickly setup a backend solution for your mobile application. AWS CloudFormation allows you to create templates for your infrastructure that can be versioned controlled. When...
View ArticleRoute53 configuration for Elastic Beanstalk
The AWS documentation is extensive, yet I find it both incomprehensible and overwhelming from time to time. Recently, I struggled to configure a HostedZoneId in a Route53 AliasTarget targeting an...
View ArticleContinuous Deployment on AWS Lambda
The quickest way of pushing every code change to production is to use automation, but to do that in a safe and sustainable way also requires test automation. The goal of this blog post […] The post...
View ArticleIntroduction to CloudFormation for API Gateway
AWS API Gateway and AWS Lambda are part of the Serverless Architecture paradigm shift. The learning curve is steep and for this reason Amazon has a step-by-step tutorial on how to get started. This […]...
View ArticleContinuous Deployment of AWS Lambda behind API Gateway
In two previous blog posts I started by introducing scripts for Continuous Deployment on AWS Lambda and then I continued to experiment with Introduction to CloudFormation for API Gateway. This blog...
View ArticleIntroduction to Swagger for CloudFormation and API Gateway
When I was writing my previous blog post about Introduction to CloudFormation for API Gateway, I noticed that CloudFormation also supports Swagger for API Gateway configuration. Curious about what such...
View Article