MAVEN+SSM (spring+springmvc+mybatis) Framework __spring

Source: Internet
Author: User
First, Maven introductionIn development, in order to ensure that the compiler passed, we will go everywhere to find jar package, when the compiler passed, run, but found "classnotfoundexception", we think of IS, is not a jar package. The directory structure of each Java project does not have a uniform standard, the configuration files are everywhere, and the unit test code should be there without an authoritative specification. So we're going to use MAVEN (which is OK with ant, but it's cumbersome to write ant XML scripts)----a project management tool. Maven mainly does two things: Unified development norms and tools Unified Management Jar Pack Second, Spring

Spring is an open source framework, Spring is a lightweight Java development framework that sprang up in 2003 by Rod Johnson in his book expert one-on-one Java Development and Some of the concepts and prototypes elaborated in the design are derived. It is created to address the complexity of enterprise application development. Spring uses basic JavaBean to accomplish things that were previously only possible by EJB. However, the purpose of spring is not limited to server-side development. In terms of simplicity, testability, and loose coupling, any Java application can benefit from spring. In short, spring is a lightweight control reversal (IoC) and aspect-oriented (AOP) container framework. Third, Springmvc

Spring MVC is a follow-on product of Springframework and has been merged into Spring Web flow. Spring MVC separates the roles of controllers, model objects, dispatchers, and handler objects, which makes them easier to customize. Four, MyBatis

MyBatis is an open source project for Apache Ibatis, the project was migrated from Apache Software Foundation to Google code in 2010 and renamed MyBatis. MyBatis is a Java-based persistence layer framework. The persistence layer framework provided by Ibatis includes SQL maps and Data Access Objects (DAO) MyBatis eliminates the manual setting of almost all JDBC code and parameters and the retrieval of result sets. MyBatis uses simple XML or annotations for configuration and raw mapping, mapping interfaces and Java POJOs (Plain old Java Objects, normal Java objects) to records in the database.

Five, SSM configuration link


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.