With the develop of several years, J2EE as the resvole used in Enterprise's application system based on Java, has become multi-tie frame based on EJB and MVC,since the original of the frame of jsp+servlet+db .With the develop of several years,J2EE has developed greatly,and J2EE has became the first select of software develop and deploy platform. And the frame of jsp+servlet+db can't satisfied the request of the Enterprise's application.At first,the paper analyzes the advantage and disadvantage of the frame of jsp +servlet +db,and dissertates the multi-tie frame, module and reused technology , data access object technology. Object-Relation Mapping technology - is analyzed;the paper also mentions the frame used in petrol ERP based on the request of petrol ERP and the software thinking of multi-tie and loose coupling,and expound the application of O-R Mapping in this frame .At lasr,according to the system test of ability and real running, the paper prove the flexibility. |