Hot Posts

Singleton Pattern in Java EE

The singleton pattern is one of the most well known design patterns and is used extensively by frameworks such as Spring. Java EE offers an elegant and easy way to implement the singleton pattern. By adding the @Singleton annotation to a class you can turn it into a singleton bean as shown in the following article about the singleton pattern implemented in Java EE.

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

%d bloggers like this: