Use Java Reflection Mechanism to Simplify Struts Frame's Logic Control

潘彬斌,王成良
DOI: https://doi.org/10.3969/j.issn.1008-0570.2009.03.080
2009-01-01
Abstract:The Struts frame can improve the expansion and reusability of the application which base on the J2EE platform. But the logic control of Struts frame is so complex that it distract developer’s mind. Java reflection mechanism offer function that load and invoke class while the procedure is running, this specialty can be used to simplify the logic control of Struts frame. The paper base on anglicizing the working principle of Struts architecture and the feature of Java reflection mechanism, against the disadvantage of Struts frame that the logic control is too complex, combine with XML, simplify the logic control, design and implement a improvement frame model. The model works well in actual applications, and improves the application development efficiency consumedly.
What problem does this paper attempt to address?