Building a Wizard for Framework Instantiation Based on a Pattern Language

Pattern languages can be used to guide the construction and instantiation of object-oriented frameworks. A process for building a wizard to automatically instantiate applications from a framework built based on a pattern language is described in this paper. The main goal of this wizard is to generate all the code needed to instantiate the framework to a particular system, based on information about the patterns of the pattern language applied to model a particular system, together with additional attributes included in the classes that compose each pattern. The proposed process is illustrated with the GREN-Wizard, a tool to instantiate the GREN framework to particular systems in the business resource management domain. GREN was built based on a pattern language for the same domain, called GRN, which is used during the instantiation process.