*
The moose likes XML and Related Technologies and the fly likes Interface.Factory.newInstance() ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Interface.Factory.newInstance() ?" Watch "Interface.Factory.newInstance() ?" New topic
Author

Interface.Factory.newInstance() ?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1381
Most of the DataBinding framework(JAXB / XMLBeans) objects are created like Interface.Factory.newInstance(). I would lik eto know the reason for creating the newInstance thru Factory ?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1381
any input ?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18708
    
    8

Factory_method_pattern
 
Don't get me started about those stupid light bulbs.
 
subject: Interface.Factory.newInstance() ?