Home Page2019-02-28T07:29:19+00:00

Building a Serverless App with AWS Lambda, S3, DynamoDB & API Gateway

Building a Serverless App with AWS Lambda, S3, DynamoDB & API Gateway What is AWS Lambda? AWS Lambda is an on demand compute service, where code is invoked in response to certain events. Events can originate internally from other AWS services, for example, a file upload to an S3 [...]

By |January 15th, 2018|Categories: AWS, REST|Tags: , , , , |

Health Checks, Metrics & More with Spring Boot Actuator

Health Checks, Metrics & More with Spring Boot Actuator I've been working with Spring Boot for a few years now and I'm a big fan. There are lots of things to like about Spring Boot, but one thing that really stands out for me is the emphasis on production [...]

By |September 7th, 2017|Categories: Spring Boot|Tags: , , , , |

REST HATEOAS with Spring

REST HATEOAS with Spring The Richardson maturity model breaks the REST architectural style into various levels of maturity. Level zero describes a system that uses HTTP as a transport mechanism only (also known as URI tunnelling). A single URI and HTTP verb is typically used for all interactions with POX [...]

By |July 18th, 2017|Categories: REST, Spring Boot|Tags: , , , , |

Handling Binary Data in SOAP with MTOM

SOAP Services With MTOM SOAP is an XML based protocol which means that all data inside the SOAP envelope must be text based. If you want to include binary data in a SOAP message, it too must be text based. To achieve this you can convert binary data to [...]

By |June 19th, 2017|Categories: Web Services|Tags: , , , , , |

REST Endpoint Testing With MockMvc

REST Endpoint Testing With MockMvc In this post I'm going to show you how to test a Spring MVC Rest endpoint without deploying your application to a server. In the past, full integration tests were the only meaningful way to test a Spring REST endpoint. This involved spinning up [...]

By |May 25th, 2017|Categories: REST, Spring Boot, Testing|Tags: , , , , , , |

Java Concurrency – Synchronization

Java Concurrency - Synchronization In my last post we looked at running tasks across multiple threads, asynchronously using the ExecutorService. Accessing and manipulating an object from multiple threads simultaneously can pose a problem when the object in question holds state. If multiple threads attempt to modify shared state, behaviour can become [...]

By |April 12th, 2017|Categories: Core Java|Tags: , , , , |