用Java反射机制简化Struts框架逻辑控制  被引量:3

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

在线阅读下载全文

作  者:潘彬斌[1] 王成良[2] 

机构地区:[1]重庆大学计算机学院,重庆400044 [2]重庆大学软件学院,重庆400044

出  处:《微计算机信息》2009年第3期195-196,233,共3页Control & Automation

基  金:重庆市自然科学基金计划资助项目"面向残障人士的web可访问性技术研究"(CSTC2006BB2016);基金颁发部门:重庆市科学技术委员会;基金申请人:王成良

摘  要:Struts框架可提高J2EE平台上应用系统的可扩展性和可重用性。但其较为复杂的控制层过多地分散了开发人员的精力。Java反射机制提供了在程序运行时加载和调用类的功能,利用它可简化Struts框架下的逻辑控制。本文在分析了Struts框架工作机理和Java反射机制的特点基础上,针对Struts框架的逻辑控制过于繁琐的缺点,结合XML技术,设计和实现了一个简化逻辑控制的改进框架模型,实际使用效果良好,可大大提高应用系统开发效率。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.

关 键 词:STRUTS JAVA反射机制 简化逻辑控制 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象