Factory Design Pattern

Tutorials Shared by the Internet Community

Advertisements


Factory Design Pattern

Factory Pattern is one of the Creational Design Pattern which is used in JDK, spring and struts framework also. You must consider to this design where

Statistics

  • Total Hits - 1319

  • Total Votes - 0 votes

  • Vote Up - 0 votes

  • Vote Down - 0 votes

  • Domain - www.javatutsworld.com

  • Category - JAVA/Core JAVA

  • Submitted By - Mukarram Ali

  • Submitted on - 2017-08-06 13:30:51

Description

Factory Pattern is one of the Creational Design Pattern which is used in JDK, spring and struts framework also. You must consider to this design where the objects creation and relationships are loosely coupled. Loose coupling is one of the most important features in software design, which helps in extending new functions in the software without doing any changes to the existing system. In this design you need to define an interface or abstract class for creating an object but subclasses will decide which class to instantiate at run time, means subclasses are responsible to create the instance of the class.

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.

http://www.javatutsworld.com/design-patterns/factory_design_pattern.html

Broken  |   Save  |   Liked  |   Down

Advertisements