Browse Prior Art Database

Dynamic binding between Java classes by double binding maps for application configuration, and Factory pattern.

IP.com Disclosure Number: IPCOM000015309D
Original Publication Date: 2002-Apr-01
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue

IBM

Abstract

To create modules on loosely-coupling basis,dynamic binding mechanism is required. This idea provides design policy to solve the dynamic binding mechanism for loosely -coupled Java classes. Factory pattern and Abstract Factory pattern of Gof improves reusability of components by separating instanciation codes from components(Fig.1).Programming codes for the instanciation of other classes can be removed from "Class A" using Factory pattern. It seems that "Class A" comes to be more loosely coupled with other classes like "Class B" and "Class C" by introducing Factory pattern.Surely "Class A" is not directly concerned with other classes.But they are tightly coupled each other via Factory classes as it is because each factory classes exist on instanciated class basis.Dynamic binding mechanism cannot be implemented by Factory pattern only. Factory Interface Class_A …………