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 ;)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 ;)