DEV Community

Discussion on: Effective Java Tuesday! Let's Consider Static Factory Methods

Collapse
 
nandorholozsnyak profile image
Nándor Holozsnyák

Frameworks nowadays like Spring or the CDI based Produces annotation gives you the ability to hide these factories and via some reflection the framework will call them. I really like the Java API based factories but sometimes you have to look them at a few times to realize which one to use.
Good article ;)