利用JSF框架在表示层上的强大功能,针对JSF框架在业务、数据持久化管理方面的不足,采用MVC(model-view-controller)model-2模式设计一种Web应用开发方案。该方案采用表示层、业务层、持久层三层结构进行设计。工程实践表明,利用该方案进行Web开发有结构清晰、维护方便和高复用性等优点。
Using the powerful functions of JSF framework in presentation tier, aiming at the deficiencies of JSF framework in the management of operation and data persistence, the paper designed a Web application development project using MVC model-2 pattern. The project was designed by making use of three tiers structure of presentation tier, business tier and persistent tier. The practice shows that the project has the characteristics of clear structure, convenient to maintenance and high ability to reuse.