Chapter 6: Factory Pattern

In this chapter we discuss what the factory pattern is and why you need it.

How to implement the various flavours of the factory pattern: the factory method and the abstract factory and how to implement the factory pattern in Java EE using the @Producers and @Inject annotations.

We finish by discussing how to create custom annotations and how to use the @Qualifier annotation to disambiguate concrete implementations.

Professional Java EE Design Patterns

Advertisements
Chapter 6: Factory Pattern

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s