September 2002
Intermediate to advanced
608 pages
14h 20m
English
3.1 XML-based ObjectFactory: Our ObjectFactory uses Java classes (VersionInfo subclasses) to control the configuration. Nearly every Java utility that supports some sort of configuration or preferences file is moving toward XML-formatted files for this purpose. After learning XML syntax later in the book, you might try creating an ObjectFactory that uses XML files rather than Java classes to choose the specific classes to be instantiated by the ObjectFactory.
Read now
Unlock full access