Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manufacturing Java Objects with the Factory Method Design Pattern

Java Boutique

Barry Burd and Michael Redlich

published August 14, 2006

This example code that accompanies the Design Pattern article was originally built with the Ant build tool on the Windows platform, but has since been migrated to using the Gradle build tool on MacOS.

After cloning this repository to your local workstation, change directory to the factory directory and build the application:

$ gradle clean build
$ ant clean build

Now executing the factory application:

$ gradle run
$ ant run

Please note that if you are using the Ant build tool on the Windows platform, you will need to add the required Java home directories in the build.properties and build.xml files. For example:

java.home=C:\jdk-11.jdk in the build.properties file is referenced as ${java.home} in the build.xml file.

Please don’t hesitate to contact either of us should you have any questions or issues.

  • mike [at] redlich [dot] net
  • barry [at] burd [dot] org

About

Example code that accompanies the Manufacturing Java Objects with the Factory Method Design Pattern article published on August 14, 2006.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages