Abstract:
PURPOSE: A system and a method for generating an EJB(Enterprise Java Bean) component from a reusable business logic of a servlet program are provided to offer the diagrams for making a user easily understand a current system by analyzing a source code for the servlet program, generate the EJB by extracting the reusable business logics, and offer the information for the generated EJB to the user visually. CONSTITUTION: A servlet code analyzer(100) analyzes the business logic information, the SQL(Structured Query Language) information, and the user interface information by receiving a servlet code(10) and using the structure knowledge information. A business logic extractor(300) extracts the information for generating the EJB component by using the business logic and the SQL information analyzed from the servlet code analyzer. An EJB component generator(400) generates the EJB components fit to an EJB component spec by using the extracted EJB component generation information. A visualizer(200) provides the information for the structure of the servlet received from the servlet code analyzer and the component information extracted from the business logic extractor as the diagram and a graph.