Along with the development and the popularization of computer science and technology, especially the widespread application of computers in the national economy, software, as computers'soul, obtains its widespread application to the social life, in the modern Enterprises in particular. The java technology which has outstanding cross platform characteristics enjoys its superiority in Enterprises at present; however, it is too complicated and costly to deploy Enterprise level application of the J2EE platform. Therefore some medium and small-scale Enterprises are unwilling or unable to carry out this kind of Enterprise level application considering its technology and their fund. Open Source Technology is the most promising field in current computer industry domain and is a new trend for the development of software profession; what's more, it possesses great significance in facilitating the development of chinese computer industry domain which is still in its childhood.This article proposes a lightbody Enterprise java application framework on the basis of open source framework Struts and Hibernate durable mechanism, and describes how developers apply Open Source Technology so as to provide medium and small-scale Enterprises an Enterprise level application scheme which is economical, fast to develop and deploy as well as stable and expandable.This article firstly does a general elaboration on J2EE technology and Open Source Technology, then choose Open Source Technology which suits the Enterprise application according to the development of current open source technology. It also explains how to make full use of these different kinds of Open Source Technology so as to carry out Enterprise level development and deployment. Then, it explores Struts framework on the basis of MVC mode and data lasting frame Hibernate, paying more attention to discuss how Struts realizes MVC mode and how Struts'modules works together. In addition, the java object lasting technology principle and the hibernate object relations mapping frame realization mechanism and the work principle are studied. On the basis of struts and the hibernate framework, one lightbody java application framework of open source technology is proposed, which has been applied to opening up insurance system resource management platform program in Chongqing libao area, and have proved to be a fast to develop, stable and expandable Enterprise level application。Finally, this author analyses the benefit and the risk when any Enterprise makes use of ths Open Source Technology, and sums up the research works and points out the further research work. |