Blog
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…
Keeping Code Private in a Public Repository
In this post I talk about how I manage to keep some of my posts private while keeping everything else part of a public repository. You Can Skip Intro by Clicking Here. A few months before I launched…