Home  >  Article  >  Java  >  What are the four commonly used frameworks for java development?

What are the four commonly used frameworks for java development?

coldplay.xixi
coldplay.xixiOriginal
2021-01-26 14:21:2819702browse

Four commonly used frameworks for java development: 1. Struts is an MVC framework based on the Sun Java EE platform; 2. Spring is a lightweight Java EE application framework; 3. Hibernate is an open source code Object relational mapping framework; 4. Swing graphical user interface library.

What are the four commonly used frameworks for java development?

The operating environment of this tutorial: windows7 system, java10 version, DELL G3 computer. This method is suitable for all brands of computers.

Four commonly used frameworks for java development:

1. Struts is an MVC framework based on the Sun Java EE platform, which is mainly implemented using SERVLET and JSP technologies. The Struts framework can be divided into the following four main parts, three of which are closely related to the MVC pattern: model, view, controller, and a bunch of toolkits for XML file parsing.

2. Spring is a lightweight Java EE application framework. The core of Spring is a lightweight container that implements the IOC mode. Spring's goal is to implement a comprehensive integration framework and realize the combination of multiple sub-frameworks under the Spring framework. These sub-frameworks can be independent of each other or Instead of using other framework solutions, Spring hopes to provide a one-stop shop framework integration solution.

3. Hibernate is an open source object-relational mapping framework that encapsulates JDBC with lightweight objects, allowing Java programmers to use object programming thinking to manipulate the database. Hibernate can replace CMP in the Java EE architecture using EJB to complete data persistence. It can also be used in any situation where JDBC is used, either in Java client programs or in SERVLET/JSP Web applications

4. Swing: Graphical User Interface (GUI) library initially The design purpose is to allow programmers to build a universal GUI that can be displayed normally on all platforms. All Swing components are AWT containers. Swing adopts the MVC design pattern.

Related free learning recommendations: java basic tutorial

The above is the detailed content of What are the four commonly used frameworks for java development?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to open jar fileNext article:How to open jar file