Design Patterns
-
Core Java
Design Patterns: Builder
Sometimes there is a need to create a complex object in application. The one solution for this is a Factory…
Read More » -
Core Java
Factory Design Pattern – An Effective Approach
As you know the Factory Method Pattern or popularly known as the Factory Design Pattern is one the design patterns…
Read More » -
Core Java
Factory Method pattern in Java
In my previous post about the Template Method pattern, I showed how one can leverage lambda expression and default methods.…
Read More » -
Software Development
Code Refactoring vs Architecture Refactoring
Introduction Everybody knows the meaning of Refactoring; the base of Agile Programming, and the best way to continuously increase the code…
Read More » -
Core Java
Building smart Builders
When building an API, you should always think about who is going to use it. When the API is simply…
Read More » -
Core Java
Train Wreck Pattern – A much improved implementation in Java 8
Venkat Subramaniam at a talk today mentioned about Cascade Method pattern or Train Wreck pattern which looks something like: …
Read More » -
Core Java
Template Method Pattern – Using Lambda Expressions, Default Methods
Template Method pattern is one of the 23 design patterns explained in the famous Design Patterns book by Erich Gamma,…
Read More » -
Enterprise Java
Publish/Subscribe Pattern with Apache Camel
Publish/Subscribe is a simple messaging pattern where a publisher sends messages to a channel without the knowledge of who is…
Read More » -
Software Development
A Theorical Look into Object/Resource Pool Pattern
Definition: Sometimes our software projects need costly object creations (database connections, socket connections, large graphical objects etc.). This cost may…
Read More »