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 readiness. Production Readiness Production readiness is about looking beyond functional requirements and ensuring your application can be properly managed and monitored in production. Some key things to consider when thinking about production readiness are... Health checks Viewing application configuration - application properties, Environment variables etc. Viewing and altering log configuration Viewing application metrics - JVM, classloader, [...]

By |2019-02-07T07:27:16+00:00September 7th, 2017|Spring Boot|0 Comments

Docker – Multi Container App

Docker - Multi Container App In my last post I used Docker to build and run a simple Spring Boot application. This post will take things a little further by introducing a second container, showing you how distinct components can be deployed in separate containers and how those containers can communicate. We'll build a simple Spring Boot app with a REST endpoint that takes an incoming message and adds it to an ActiveMQ message queue. A second endpoint will use a receiver component to consume the next message from the queue and return it to the client.  The application itself is simple but it'll provide [...]

By |2019-02-13T17:24:54+00:00August 11th, 2016|JMS, Spring Boot|0 Comments

Docker & Spring Boot

Docker & Spring Boot Docker allows you to package an application with its dependencies, into a light weight, portable container that can run on almost any environment.  You can think of a Docker container as a run time, a mini virtual machine that encapsulates your application and its dependencies. In order to run a container you need a Docker image. An image is like a template that defines everything that will exist within the container. You can almost think of an container as a run time instance of the image it was created from. In this post we'll define and build 3 slightly different Docker [...]

By |2019-02-13T17:31:58+00:00July 22nd, 2016|Spring Boot|0 Comments

Spring Boot & Amazon Web Services (EC2, RDS & S3)

Spring Boot & Amazon Web Services (EC2, RDS & S3) This post will take you through a step by step guide to building and deploying a simple Java app in the AWS cloud. The app will use a few well known AWS services which I'll describe along the way. There is quite a bit to cover in this post so the overview of the AWS services will be light. For those interested in finding out more I'll link to the appropriate section of the AWS documentation. Amazon have done a fine with their documentation so I'd encourage you to have a read if time permits. [...]

By |2019-02-18T07:22:22+00:00May 3rd, 2016|AWS, Spring Boot|0 Comments

Spring Boot REST Tutorial

Spring Boot REST Tutorial Spring Boot makes it easier to build Spring based applications by focusing on convention over configuration.  Following standard Spring Boot conventions we can minimise the configuration required to get an application up and running. The use of an embedded Servlet container allows us to package the application as an executable JAR and simply invoke it on the command line to launch the application. One of my favourite things about Boot is its emphasis on production readiness. Out of the box it provides a number of key non functional features, such as metrics, health checks and externalised configuration. In the past these [...]

By |2019-02-18T07:23:41+00:00December 1st, 2015|REST, Spring Boot|0 Comments
Go to Top