| With the rapid development of information and network technology, enterprises have more and more requirements of the information system, enterprise application systems convert from client-server architecture to Internet mode. Enterprise application systems are very complicated because there are a lot of business logics. To develop an enterprise application system has a heavy workload and a long development cycle. Meantime traditional enterprise application systems are not easy to maintain, developers often modify the code to meet user's new requirements.The pharmaceutical industry is an important part of our national economy. The notable feature of pharmaceutical industry is continuous production; the production capacity is relatively stable. Enterprises are mainly concerned with materials control,production planning,quality tracking,product sales,selling expenses control and the establishment of performance appraisal systems, and so on. In order to enhance the market competitiveness, improve business efficiency and benefits of enterprises, a good information management system is essential. Meanwhile, along with the continued expansion of enterprise business scope, there will be more and more business categories, enterprise application systems will be also be faced with the problem of functionality expanding. Therefore, the main research work of this article is to achieve an intelligent WEB development platform for pharmaceutical enterprises. By using this platform, most of the new requirements can be customized through the web pages. It can reduce the coding workload, response and implement the user's requirements quickly.This platform adopts advanced three-tier architecture, viz. browser/ application server/ database server, based on J2EE framework to build systems. On design pattern we adopt MVC which ensure the platform's high scalability and high maintainability and so on.In client-side we use browsers, achieving zero maintenance. There is no need to install client-side software, thereby reducing the maintenance costs. Meantime the benefits of operating on web pages make the users'operation more convenient.Application server includes web server,business logic layer and database controlling engine.Web server includes Jsp,Servlet and JavaBean components and so on, for the showing of client-side html pages. Business logic layer is responsible for handling business logic. Database controlling engine is responsible for interactivity between the database and business system on platform.The framework of the platform in this article is a manifestation of MVC pattern. MVC pattern has three major parts: Model(business layer),View(presentation layer),Controller(controlling layer).Model: business logic layer of application system includes JavaBean in scheduling layer and EJB which is responsible for handling business logic;View: data visualization display and interaction with the user;Controller: accept users'input, notify the Model to process business logic and control page convert.The processes of the system's response to users'page request are as follows:The controller Servlet receives Http Request from the client-side;The controller Servlet parses request, loads MVC action configuration, calls the corresponding scheduling layer;The scheduling layer JavaBean achieve middle scheduling, first parse the parameters from the pages, encapsulate them, then call the appropriate combination in business logic layer (EJB or JavaBean) to achieve business logic. Business logic components can achieve business data access by using database controlling engine which encapsulate all the operational details of database; The scheduling layer receives the processing result of business logic components, and return it to the controller Servlet.The controller Servlet parse the path URL and call the appropriate Jsp page based on the business processing result.Jsp page calls the appropriate method in business logic layer to get data; According to the data, Jsp generate html page, return to the browser and show the page.The feature of the platform achieved in this paper is the customized function, mainly including the following modules: form customization,workflow system,system setting and report module.Form customization is an important part of customized functions, also the focus of this paper. Among the enterprise's daily businesses, would involve a lot of forms, meanwhile the content of form will be changed because of new requirements on business. Therefore a flexible form customized function is very necessary for meet customer's needs rapidly and improve business efficiency. The form customized module mainly includes form design and logic setting. Users can design appropriate form style according to specific business needs, achieve logic setting and constraints of form.Work flow module can meet functions such as business approval, at present the workflow design of our platform is carried out in the Jbpm designer, the design results can be published to the platform and be associated with forms.System setting mainly includes function customized,roles management and so on. Function customization can set the menu button flexibly and be associated with appropriate class.In short, a flexible,customizable intelligent web platform has many advantages to develop enterprise application systems, it can achieve rapid development and rapid maintenance. In the future the intelligent web platform will play a larger role definitely. |