Blog
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…
Understanding Types, Subtypes and Type Variance
Most of us when we just start with programming, get confused with concepts of types, subtypes, inheritance, etc. But just as with the process of learning any language this all starts to come naturally…