Category Archives: Java

Moving to a New Home

Henceforth, I would be posting on the new home of this blog. I have named it “This Technology Life“ and I hope you will continue to find it useful. Advertisements

Posted in Java | Leave a comment

Java 8 Lambda Expression for Design Patterns – Strategy Design Pattern

The strategy pattern defines a family of algorithms encapsulated in a driver class usually known as Context and enables the algorithms to be interchangeable. It makes the algorithms easily interchangeable, and provides mechanism to choose the appropriate algorithm at a … Continue reading

Posted in Java | Tagged , , , , | 1 Comment

2015 in review

The WordPress.com stats helper monkeys prepared a 2015 annual report for this blog. Here's an excerpt: A San Francisco cable car holds 60 people. This blog was viewed about 1,700 times in 2015. If it were a cable car, it … Continue reading

Posted in Java | Leave a comment

Java 8 Lambda Expression for Design Patterns – Decorator Design Pattern

The Decorator pattern (also known as Wrapper) allows behavior to be added to an individual object, either statically or dynamically, without affecting the behavior of other objects from the same class. It can be considered as an alternative to subclassing. … Continue reading

Posted in Java | Tagged , , , | Leave a comment

Book Review – OCP Java SE 7 Programmer II Certification Guide: Prepare for the 1ZO-804 exam

Although this book is essentially for preparing for OCP certification but I feel it is a great reference for anyone interested in learning Java 7 features. Oracle has been adding tons of features with each Java release and it is … Continue reading

Posted in Java | Tagged , | Leave a comment

Java 8 Lambda Expression for Design Patterns – Command Design Pattern

In this blog I would illustrate implementing the command pattern in functional programming style using Java 8 Lambda expressions. The intent of command pattern is to encapsulate a request as an object, thereby parameterizing clients with different requests, queue or … Continue reading

Posted in Java | Tagged , , , | Leave a comment

Microservices in a Nutshell

At the onset, “Microservices” sounds like yet another term on the long list of software architecture styles. Many experts consider it as lightweight or fine-grained SOA. Though it is not entirely a new idea, Microservices seem to have peaked in … Continue reading

Posted in Cloud, Java | Tagged , , | 2 Comments