Articles of 2015

Spring reCAPTCHA v2.0 Form Validation

When Google rolled out v2.0 of their reCAPTCHA service I got a nice email from them reminding me to upgrade. Since I like shiny new things and have a liberty of freely implementing them they needn't ask me twice to do so. As for what's new and shiny in it - they market is as noCAPTCHA reCAPTCHA, meaning no more typing hard to read text from an image we all got used to. You get a nice checkbox-like thing instead, and they are able to tell from the way it's ticked whether it was of human doing for most of the time. When they are not able to tell, you might get tormented to click food pictures instead, which to me happens especially often whenever I decided to skip my lunch. Still better than trying to decipher a cryptic piece of text I think.

Adding RSS to Spring Boot Application With ROME

I have recently added an RSS feed to the site and thought I'm going to explain how it can be done. This is not a rocket science though it'll be good to discuss how to fit it into modern Spring Boot app using Java Configuration. In the process maybe one can also learn about creating custom views and some inner workings of Spring MVC.

Application Metrics With Spring Boot Actuator

Update 12/2017: It will need an update/rewrite since Spring Boot 2.0 is coming.

Having metrics collected is vital for ...just anything, besides relationships maybe :) My favourite quote by Deming goes like this: "You can't manage what you can't measure". Without it either your experience, prediction and planning skills are so awesome that everything works as expected, or you're just deluding yourself. It's hard data that gives you feedback to confront your actions with reality. It's not only important on company-wide level, or in project management, processes, or when counting conversions in Google Analytics. There are metrics you can collect down on the application level, so can have insight on how it is performing, being used and that it works at all. A nice tool exists for Spring Boot apps to do that, and this is Spring Actuator I'm going to write about today.