I write posts on Java, Concurrency, Design patterns, Spring Boot, React and anything that I learn on technology.
01 Oct, 2014
Single responsibility principle was introduced by Tom DeMarco in his book "Structured Analysis and Systems Specification, 1979". Robert Martin reinterpreted the concept and defined the responsibility as a reason to change. A class should have only one reason to change.
Tags:
01 Oct, 2014
Software design principles represent a set of guidelines that helps us to avoid having a bad design.
Tags:
24 Sep, 2014
Lucene is a high-performance, scalable information retrieval (IR) library. IR refers to the process of searching for documents, information within documents, or metadata about documents. Lucene lets you add searching capabilities to your application. [ref. Apache Lucene in Action Second edition covers Apache Lucene v3.0]
Tags:
18 Sep, 2014
Abstract Factory design pattern comes under the category creational pattern. It is also called factory of factories. It provides a way to encapsulate a group of factories which have common behaviour or theme without specifying which underlying concrete objects are created. It is one level of abstraction higher than Factory pattern.
Tags:
14 Sep, 2014
Serialization is the process of encoding an object to byte stream and reverse of it is called deserialization. It is platform independent process which means you can serialize the object in one JVM and can transport the object over network and/ or store it in file system and then deserialize it in other or on same JVM.
Tags:
13 Sep, 2014
Strategy design pattern comes under the category behavioural pattern. It is also known as Policy pattern. It defines a family of algorithms and encapsulates each algorithm. The algorithm can be interchanged without changing much code. It bury algorithm implementation details in derived classes. It favours composition over inheritance.
Tags: