In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces you how to carry out the Spring framework overview of Java, the content is very detailed, interested friends can refer to, hope to be helpful to you.
Spring is an open source application framework on the java platform. Its * * versions are written by Rod Johnson. Rod released the framework in his book Expert One-On- One Java EE Design and Development, an one-on-one expert in Java enterprise application design and development. The framework can also be ported to. Net environment.
The framework for Spring was released in the June 2003 license for Apache 2.0. The landmark version was 1.0 released in March 2004. Another important version was published in September 2004 and March 2005 respectively.
The Spring framework itself does not enforce any particular programming mode. In the Java community, Spring is popular as an alternative or even an alternative to the EJB model. From a design point of view, Spring gives Java programmers a lot of freedom, but it also provides good documentation and easy-to-use methods for common problems in the industry.
The core functions of the Spring framework are applicable in any Java application. In the web application based on Java enterprise platform, a large number of extensions and improvements have been formed. To this end, Spring has been widely welcomed and recognized by many companies as an important framework of strategic significance.
1. History of the Spring framework
The first part of the Spring framework was written by Rod Johnson in 2000 when it provided independent consulting services to the financial community in London. In the book one-to-one experts in Java Enterprise Application Design and Development, Rod further expands his code to illustrate the idea of "how applications can work with different components on the J2EE platform with greater ease of use and stability than was accepted by the public at the time."
In 2001, the mainstream programming models for web applications were Java Servlet API and EJB. Both are proposed by Sun Microsystems and other developers and interest groups, and have gained broad consensus in the Java industry. Non-Web applications, such as client-side or batch applications, can also be based on open source or commercial tools and projects that provide the desired functionality.
The establishment of Spring framework based on * * method and suitable for various types of applications should be attributed to Rod Johnson. These ideas are also expounded in his book. After the publication of the book, based on the requirements of the reader, the source code is provided under the open source usage agreement.
A team of program developers who volunteered to expand the Spring framework built a project on Sourceforge in February 2003. After working on the Spring framework for a year, the team released * * versions (1.0) in March 2004. Since this release, the Spring framework has become extremely popular in the Java community, in part due to its better-than-average documentation and references, especially for an open source project.
However, the Spring framework was also criticized in 2004, and sometimes it became the subject of heated debate. When Spring was released, many programmers and leading designers saw it as a step away from traditional programming models, especially for EJB. An important design goal of the Spring framework is to make it easier to integrate with existing J2EE standards and commercial tools. To a large extent, this goal makes it optional to define functions through specification documents controlled by controversial official committees.
The Spring framework has made previously unpopular technologies become popular in a short period of time, the most famous example being IOC. In 2004, the adoption rate of the Spring framework was very high; by introducing its own AOP (direction-oriented programming), Spring made AOP popular in the Java community as a whole.
In 2005, due to the launch of a landmark new version and the addition of more functions, Spring got a higher adoption rate than in 2004. The Spring Forum created at the end of 2004 also contributed to the promotion of the framework. The forum has become the most important source of information and help for the majority of users.
In 2005, developers of the Spring framework set up their own company to provide commercial support for Spring, most notably in partnership with BEA. In December 2005, * Spring meetings were held in Miami, and the three-day course attracted 300 developers. The conference held in Antwerp in June 2006 involved more than 400 developers.
2. The main functions of the Spring framework
◆ is based on Java Beans configuration management and adopts the principle of IOC, especially the use of dependency injection technology. These are used to reduce the interdependence of components on the implementation rules.
◆ is a core, globally applicable bean factory
◆ is a general abstract level to manage data processing between databases.
◆ establishes a general strategy for processing API and separate JDBC data sources for Java data within the framework. As a result, dependence on the Java enterprise version environment for data processing support is eliminated.
Integration of ◆ and sustainable frameworks such as Hibernate,JDO,iBATIS and db4o
The MVC framework in ◆ web applications, based on core Spring functions, supports a variety of view generation technologies, including JSP,FreeMarker,Velocity,Tiles,iText, and POI
◆ has a large number of AOP frameworks to provide services such as data processing management. Like the function of IOC, the aim is to improve the modularity of the system.
On how to conduct Java Spring framework overview is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.