Spring Framework [Java Open Source JEE Framework] Spring Framework is a solution A powerful framework for many common problems in J2EE development.
Spring provides a consistent way to manage business objects and encourages the good habit of programming interfaces rather than classes. The architectural foundation of Spring is based on the Inversion of Control container using JavaBean properties.
However, this is only part of the complete picture: Spring is unique in using IoC containers as a complete solution that focuses on all architectural layers.
WebWork [Java Open Source Web Development Framework]WebWork is a pull-out MVC model J2EE Web framework developed by the OpenSymphony organization and dedicated to componentization and code reuse. .
Struts [Java Open Source Web Development Framework]Struts is an MVC framework based on the Sun J2EE platform, which is mainly implemented using Servlet and JSP technologies. Because Struts can fully meet the needs of application development, is simple to use, agile and fast, it has attracted much attention in the past year.
Struts integrates Servlets, JSP, custom tags and message resources into a unified framework
Hibernate [Java open source persistence layer framework]Hibernate is an open source object-relational mapping framework. It encapsulates JDBC in a very lightweight object, allowing Java programmers to use object programming thinking to manipulate the database as they wish. Hibernate can be applied in any situation where JDBC is used
Quartz [Java Open Source Scheduling Framework]Quartz is another open source project of the OpenSymphony open source organization in the field of Job scheduling. It can It can also be used alone in conjunction with J2EE and J2SE applications. Quartz can be used to create simple or complex daily schedules for running ten, hundreds, or even tens of thousands of Jobs.
Velocity [Java Open Source Template Engine]Velocity is a template engine based on java. It allows anyone to reference objects defined by Java code simply using a template language.
When Velocity is applied to web development, interface designers can develop a web site that follows the MVC architecture simultaneously with Java program developers. In other words, page designers can only focus on the display effect of the page, while Java program developers focus on business logic coding.
Velocity separates Java code from web pages, which facilitates long-term maintenance of web sites, and also provides us with an optional solution besides JSP and PHP.
IBATIS [Java Open Source Persistence Layer Framework]Using the ORM mechanism provided by ibatis, for business logic implementers, they are faced with pure Java objects. This layer is basically the same as implementing ORM through Hibernate. For specific data operations, Hibernate will automatically generate SQL statements, while ibatis requires developers to write specific SQL statements.
Compared with "fully automatic" ORM mechanisms such as Hibernate, ibatis provides greater freedom for system design by compromising the workload of SQL development and database portability. As a useful supplement to "fully automatic" ORM implementation, the emergence of ibatis is of special significance.
The above is the detailed content of What are the open source frameworks for Java?. For more information, please follow other related articles on the PHP Chinese website!