Spring boot features in productions

When a large scale enterprise application is running then the operations team is always worried about its health parameters.

They have to keep a constant tab on whats working and what is not working? Whether the application is up or down. In general scenario development team can write logic for such endpoints and can expose them but it takes a lot of efforts.

For such scenarios, Spring Boot Actuators comes very handily. Just by adding some dependencies in your POM, your application can have out of the box features that will help you monitor your application environment.

You can expose these features as HTTP endpoints and access via the web.

f:id:saravanagumar:20180808184155j:plain

Spring Boot offers special module called spring boot actuator for production applications.

 

This module has some of the great features like metrics, health check, log, info, etc. exposed as the endpoints. 

If you want to deploy Wheather in heroku or in AWS or any cloud hosting its very simple and staright forward .

Spring Boot is made for developers to create Production ready applications .Its Super fast and using in production is really easy and hassle free.

If i have to make a choice in terms of only Production i Would give 100/100 to Spring Boot .

Its like a gift if you event want to deploy microservices using Spring Boot and deploy in production. As you know its always tough to manage distributed applications but Spring makes it so simple.

I have been working on Spring Applications for more than 8 years, now I am seriously considering to convert all my spring applications to Spring Boot.

Obviously these applications will be deployed in the production environment. Here are the some key points why I am moving to Spring Boot:

  1. It is very easy for developers to concentrate on the development rather than focusing on environmental issues.
  2. Spring Boot configures everything for you without even single line of XML configurations.
  3. Spring Boot works very well with Spring Applications, especially when I use Spring Data for database, it configures out of the box.
  4. Spring Boot DevTools offers nice features for speeding up the development work.
  5. Good community support.
  6. It supports traditional way of of deploying to Application Servers which is required for the existing customers and it also supports the Fat JARs for running as the microservices.

Useful resources:

Spring boot tutorial