Blog Archives

06: Web design patterns MVC2, MVP, MVVM & MVW

Q1. What’s wrong with Servlets? What is a JSP? What is it used for? What do you know about model 0 … … Read more ›...

Members Only Content
Log In Register Home


12 Java design patterns interview Q&As

Java Design Patterns Interview Questions Links: Why do Proxy, Decorator, Adapter, Bridge, and Facade design patterns look very similar? What are … … Read more ›...

Members Only Content
Log In Register Home


14: Singleton design pattern in Java & 5 key follow up Interview Q&As

When you are asked in job interviews to explain a design pattern that you had used, many pick “singleton” as it … … Read more ›...

Members Only Content
Log In Register Home


4 JEE Design Patterns Interview Q&As

Unlike J2EE, Java EE 6 consists of annotated classes without any dependencies on the platform. This approach eliminates the need to … … Read more ›...

Members Only Content
Log In Register Home


Builder pattern and immutability in Java

Next time you are asked to explain a design pattern in an interview, you could pick this as opposed to the … … Read more ›...

Members Only Content
Log In Register Home


Design pattern intents interview Q&A

Q1. Why do Proxy, Decorator, Adapter, Bridge, and Facade design patterns look very similar? A1. Some design patterns do have subtle … … Read more ›...

Members Only Content
Log In Register Home


EIP

Q1. What is EIP, and why do you need it? A1. EIP stands for “Enterprise Integration Patterns“. EIP was created … … Read more ›...

Members Only Content
Log In Register Home


Flyweight design pattern to improve memory usage & performance

Flyweight pattern is about sharing a collection of objects. The flyweight design pattern is a structural pattern used to improve memory … … Read more ›...

Members Only Content
Log In Register Home


Java ExecutorService with strategy design pattern to execute concurrently & sequentially

Java executor framework for running multi-threaded applications concurrently, sequentially, and with a strategy design pattern to switch between sequential and concurrent … … Read more ›...

Members Only Content
Log In Register Home


Proxy design pattern in Java with service retry example

Design pattern: If you are asked to describe or talk about a design pattern, you could mention this dynamic proxy … … Read more ›...

Members Only Content
Log In Register Home


Why do Proxy, Decorator, Adapter, Bridge, and Facade design patterns look similar? What are the differences?

There are often patterns that look very similar, but differ in their intent. Most patterns use polymorphism with interface inheritance. … … Read more ›...

Members Only Content
Log In Register Home


Java FAQs to Fast-track & Go places

Java Interview Q&As

Top