Design Patterns
-
Core Java
The ins and outs of immutability
So in my first post I talked a little bit about the builder pattern and I mentioned a really powerful…
Read More » -
Core Java
The builder pattern in practice
I’m not going to dive into much details about the pattern because there’s already tons of posts and books that…
Read More » -
Core Java
Iterator Pattern and Java
Hello all, in this post we’ll be checking on the Iterator Pattern. A design pattern that I know many of…
Read More » -
Core Java
Loan pattern in Java (a.k.a lender lendee pattern)
This post is about implementing loan pattern in Java. Use Case Implement separation between the code that holds resource from…
Read More » -
Core Java
Fluent Object Creation
Many posts have been written on this subject (overwhelmingly many) but I just wanted to contribute my two-cents and write…
Read More » -
Enterprise Java
Using Builder Pattern in JUnit tests
This is not intended to be a heavily technical post. The goal of this post is to give you some…
Read More » -
Core Java
Decorate with decorator design pattern
Decorator pattern is one of the widely used structural patterns. This pattern dynamically changes the functionality of an object at…
Read More » -
Core Java
Facade Design Pattern – Design standpoint
In our previous article we have described about the Adapter Design Pattern. In today’s article we are going to show…
Read More » -
Core Java
Gang of Four – Proxy Design Pattern
Proxy is another Structural design pattern which works ‘on behalf of’ or ‘in place of’ another object in order to…
Read More »