PURPOSE: A device and a method for generating a component through a design pattern extracted from a legacy system are provided to generate the component following an EJB(Enterprise JavaBeans) architecture by extracting the design pattern from the legacy system, processing it to a reuse component by adding a user's opinion, and matching the products with a component model formed by the design pattern. CONSTITUTION: A source code analyzer(111) extracts the information by grasping a summarized system model through the discovery of a class declaration and the interaction between the classes in a source code of the legacy system. A design information recovering device(112) refines and understands an object architecture by obtaining the communication between objects through the examination of a class attribute, a parameter transferred to the method, and a class type from the extracted information, and understanding a sort and a multiplicity of a relationship. A design pattern extracting device(113) recognizes and analyzes a latent candidate pattern in the object architecture refined by the design information recovering device(112).
展开▼