Blog
Undo everything in Git - Part 2
In my previous post Undo everything in Git - Part 1, I disucussed various undo scenarios on a git repository locally. Now, in this post, we discuss the undo strategies when we have pushed our code to…
Design Patterns In Spring Framework
Understanding design patterns is best achieved through practical application. However, we often miss how they’re built into the frameworks or libraries we use. In Spring Framework, different design…
Implementing REST API for Long Running Jobs
In previous post Rest API For Long Running Job we discussed the design of an API exposed to handle long runnining jobs. Such an API decouples the long running process with the actual API, and instead…
Designing REST API for Long Running Jobs
Consider the case below where we have an API for ‘orders’. We want to expose an Order Service for a client to list all orders, create a new order, or get details for a particular order. API Design So…
Understanding Static Factory Methods
There is ample material on how we can use constructors to create new objects, but still we can opt out the use of constructors somtimes. In the object oriented world, where everything is an object…