摘要
在企业级WEB应用中,会涉及到大量的报表,由于表对象的不同,模式层开发者须针对每个报表开发业务逻辑,使得代码复用率低,并且造成了极大的人力浪费。针对此问题提出并实现一个基于Struts和Hibernate框架的通用企业报表组件,自动生成企业报表。开发者只需给出查询的表对象、查询的条件、显示的类型(只读、可编辑),就能自动生成报表,不再需要针对报表编写任何的代码。
There are a lot of different report forms in enterprise WEB applications. The developers working at the model layer have to develop business logic on each report form because of the different form objects. Obviously the reuse ratio of code is very low and it wastes much human resource. According to this problem this paper represents enterprise report form groupware based on Struts and Hibernate frame, which can build different report forms autonmatically. The developer only need give the searching object, searching condition and display format (read only, read/write), then it can build report form automatically. There is no need to write any code.
出处
《计算机技术与发展》
2007年第4期136-139,共4页
Computer Technology and Development