I am looking for OpenSource Java Projects to study and understand how certain design patterns are applied in real world.
To that goal, Which are the best opensource projects to study applications of software design patterns?
I am looking for OpenSource Java Projects to study and understand how certain design patterns are applied in real world.
To that goal, Which are the best opensource projects to study applications of software design patterns?
To study design patterns I would recommend going first with the book Head First Design Patterns and try to build simple examples yourself. Once you do that you will start recognizing patters everywhere you look :). Once you know what they look like you can pick up any popular open source project and you will find ton of examples there.
Actually you don't even have to look much as there are many examples of design patterns in jdk you are using already: Examples of GoF Design Patterns in Java's core libraries
In Spring Framework:
org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean
and friendsorg.springframework.context.ApplicationListener
for exampleorg.springframework.jdbc.core.JdbcTemplate
(not sure)javax.servlet.Filter
I think Spring sources are clean, well commented and quite easy to read. Of course the whole framework is very complex but worth studying. Especially if you work with Spring on a daily basis.. :-)
I would look at Spring there are many examples of patterns and surely the best/worst example is the (infamous?) class AbstractSingletonProxyFactoryBean