To improve effectively developing efficiency of Java technology, shorten developing periods, reduce developing cost in the enterprise application, the mechanism of four open-source frameworks of Ajax, Struts, Hibernate and Spring are introduced. According to basic ideology of MVC(Model-View-Controller) model, a developing strategy of J2EE(Java 2 Platform Enterprise Edition) application based on the four frameworks is advanced. How to use the four frameworks together more efficiently in building a high efficient developed, steady runned, straightforward maintenance, convenient for transplanted and easy expanded J2EE framework, the picture of this framework is given, and the advantages and disadvantages are analyzed.The online learning system, which is put in use successfully and based on the framework is realized. The application result indicated that the framework has the outstanding portability, extension and maintenance, reduces the complexity and coupling degree of application, improve the developing efficiency.