12 Feb 2016
Coming across a Daily WTF blog post about an inefficient C code written somewhere and somewhen
26 Aug 2015
In this blog entry I describe a basic configuration you need to add to your Spring application for listening to jms messages on a queue.
I extend the book-inventory-boot
example with a Jms Listener that receives messages on a queue and based on the Operation header in the message a Delete, Update or a Create is executed.
20 Apr 2015
Most of the applications define data abstraction layers. Usually the entities of the different layers show some similarities and mapping is required to transform one model to another.
library can be useful to help you resolve this task.
10 Apr 2015
is a great inline documentation tool for RESTful web APIs.
It goes really well with Spring REST applications, you just define your API documentation as inline comments in your classes and execute the apidoc
command to parse the source files and generate a static HTML documentation out of them.
02 Mar 2015
Bob was sitting desperately in front of a bunch of failing JUnit tests intended to verify the part of the application he just refactored.
The one who wrote them - to be honest it could have been any of us at a certain stage of our life - had the idea that JUnit is somewhat different from production Java: there is no need for code conventions, clean code, comments or whatever that could make the maintainer's life easier.
21 Feb 2015
The Spring implementation is presented in a minimalist book inventory app. This app offers basic CRUD functionality and some search functionality for handling books via book title and author.
The book entities are persisted in an underlying SQL database (in memory) for the sake of simplicity. On the creation of a new Book it is registered via an imaginary 3rd party "register book" endpoint returning with an isbn number.