提出了一个基于Struts的软件系统框架WEF(Wrapping EJB Framework),该框架采用隐式实现服务定位,提高了JNDI服务的检索速度;强制使用Object Value降低网络传输的代价;采用配置文件等技术改善EJB的执行灵活性。对所提出的WEF的表示层和业务层进行了详细分析,并对WEF的核心模块的实现进行了描述.最后通过图书馆管理系统给出了WEF的一个实现。通过WEF的包装,EJB组件的调用将变得更加简洁,这有助于提高信息系统软件的开发效率,减小维护代价。
A Struts-based software framework:WEF(Wrapping EJB Framework) is proposed. In WEF, seivice locator is hidden implemented to improve the speed of searching JNDI service, Object Value is forcedly used to decrease the cost of net transferring. Configure file is used to improve the flexibility of EJB. The main components, representating layer and operating layer of WEF are analyzed, The implementation of WEF engine is described. And finally presented is a case study using WEF in library management system development. Wraped by WEF, calling for EJB components becomes more simply, It helps to improve the efficiency of the development of information systems and reduce the cost of maintainment.