`
itwangxinli
  • 浏览: 146115 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

What is Spring?

阅读更多

What is Spring?

                         

Spring is grate framework for development of Enterprise grade applications. Spring is a light-weight framework for the development of enterprise-ready applications. Spring can be used to configure declarative transaction management, remote access to your logic using RMI or web services, mailing facilities and various options in persisting your data to a database. Spring framework can be used in modular fashion, it allows to use in parts and leave the other components which is not required by the application.

Features of Spring Framework:

  • Transaction Management: Spring framework provides a generic abstraction layer for transaction management. This allowing the developer to add the pluggable transaction managers, and making it easy to demarcate transactions without dealing with low-level issues. Spring's transaction support is not tied to J2EE environments and it can be also used in container less environments.
       
  • JDBC Exception Handling: The JDBC abstraction layer of the Spring offers a meaningful exception hierarchy, which simplifies the error handling strategy
     
  • Integration with Hibernate, JDO, and iBATIS: Spring provides best Integration services with Hibernate, JDO and iBATIS.
     
  • AOP Framework: Spring is best AOP framework
       
  • MVC Framework: Spring comes with MVC web application framework, built on core Spring functionality. This framework is highly configurable via strategy interfaces, and accommodates multiple view technologies like JSP, Velocity, Tiles, iText, and POI. But other frameworks can be easily used instead of Spring MVC Framework..

    Spring Architecture

    Spring is well-organized architecture consisting  of seven modules. Modules in the Spring framework are:

    1. Spring AOP
      One of the key components of Spring is the AOP framework. AOP is used in Spring:
      • To provide declarative enterprise services, especially as a replacement for EJB declarative services. The most important such service is declarative transaction management, which builds on Spring's transaction abstraction.

      • To allow users to implement custom aspects, complementing their use of OOP with AOP

    2. Spring ORM
      The ORM package is related to the database access. It provides integration layers for popular object-relational mapping APIs, including JDO, Hibernate and iBatis.
        
    3. Spring Web
      The Spring Web module is part of Spring抯 web application development stack, which includes Spring MVC.
         
    4. Spring DAO
      The DAO (Data Access Object) support in Spring is primarily for standardizing the data access work using the technologies like JDBC, Hibernate or JDO.
         
    5. Spring Context
      This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.
        
    6. Spring Web MVC
      This is the Module which provides the MVC implementations for the web applications.
        
    7. Spring Core
      The Core package is the most import component of the Spring Framework.
      This component provides the Dependency Injection features. The BeanFactory  provides a factory pattern which separates the dependencies like initialization, creation and access of the objects from your actual program logic.

    The following diagram represents the Spring Framework Architecture


    Spring Framework Architecture

                         

分享到:
评论

相关推荐

    五年级英语特殊疑问句练习.doc

    7. What can you do in spring?(春天你能做什么?) 8. What’s the weather like in fall?(秋天的天气怎么样?) 9. When is your birthday?(你的生日是什么时候? - 九月五号) 10. When is Children’s Day?...

    Unit 2 Spring Is Coming!课时练习题及答案2.doc

    - What do you do in spring?:你在春天干什么?这个问题询问对方在春季的活动或习惯。 - Autumn is cool but rich.:秋天天气凉爽但收获很丰富。这句话描述了秋季的气候特征以及农作物的丰收情况。 - We can ...

    Beginning Spring Boot 2 Applications and Microservices with the Spring Framework

    This book will help you understand what Spring Boot is, how Spring Boot helps you build Spring-based applications quickly and easily, and the inner workings of Spring Boot using easy-to-follow ...

    特殊疑问词和特殊疑问句whquestion初中七年级英语优质公开课PPT课件.pptx

    11. **Why**:询问原因,例如"Why do you like spring?"。 12. **How**:可用来询问健康状况、交通方式等,如"How are you?"和"How do you go to school?"。 13. **How old**:询问年龄,如"How old are you?"。 ...

    Beginning-Spring-Boot-2.pdf

    This book will help you understand what Spring Boot is, how Spring Boot helps you build Spring-based applications quickly and easily, and the inner workings of Spring Boot using easy-to-follow ...

    外研一起小学英语五下《Module4Unit 2 My favourite season is spring.》word教案 (

    【外研一起小学英语五年级下册《Module4 Unit 2 My favourite season is spring.》教案】 本课属于新规范英语教材一年级终点第十册第四模块第二单元,主要教学内容为"My favourite season is spring.",旨在让学生...

    mybatis-3.1.1-bundle

    What is MyBatis-Spring? MyBatis-Spring 会帮助你将 MyBatis 代码无缝地整合到 Spring 中。 使用这个类库中的类, Spring 将会加载必要的 MyBatis 工厂类和 session 类。 这个类库也提供一个简单的方式来注入 ...

    外研版一起小学英语五上《Module 3Unit 2 Easter is in Spring in the UK.》word教案

    【外研版一起小学英语五上《Module 3 Unit 2 Easter is in Spring in the UK.》教案】 这篇教案详细规划了五年级英语课程的教学内容,旨在帮助学生掌握与复活节相关的英语词汇和表达,同时培养他们的跨文化交际能力...

    The Definitive Guide to Spring Batch, 2nd Edition.epub

    Discover what is new in Spring Batch 4 Carry out finite batch processing in the cloud using the Spring Batch project Understand the newest configuration techniques based on Java configuration and ...

    Pro Spring Boot 2第2版-2009-EPUB版

    It will also cover what's been added to the new Spring Boot 2 release, including Spring Framework 5 features like WebFlux, Security, Actuator and the new way to expose Metrics through Micrometer ...

    Spring.Essentials.178398

    If you are a Java developer who is looking to master Enterprise Java Development using Spring Framework, then this book is ideal for you. Prior understanding of core Java programming and a high-level ...

    pro spring batch

    Pro Spring Batch is intended to answer three questions: *What? What is batch processing? What does it entail? What makes it different from the other applications we are developing? What are the ...

    Facebook流行框架使用教程Facebook-POP-Tutorial.zip

    In addition to basic animation including linear, easy in, slow procedures, slow type - Easy - out animation, which supports the spring (at the time of its release, the spring is not iOS support ...

    Pivotal Certified Professional Spring Developer Exam(Apress,2016)

    Also, it is suitable as an introductory primer for Spring newcomers. Furthermore, in Pivotal Certified Professional Spring Developer Exam: A Study Guide each chapter contains a brief study summary ...

    小学英语句型转换.doc

    7. 用when提问:When is this Spring Festival? 使用疑问词when询问时间,原句的系动词is不变。 8. 用whose提问:Whose blue shirt is this? 使用疑问词whose询问所有者,原句的系动词is不变。 9. 用what提问:...

    五年级英语下册问答句专练精选.doc

    7. Why do you like spring? — Because it’s warm in spring. 询问喜欢春天的原因,需回答一个理由。 8. How is the weather in winter? — It’s cold in winter. 询问冬天的天气情况,通常用形容词描述气温。 ...

    Pro Spring MVC With Web Flow

    What you'll learn Key Spring Framework fundamentals How to use the ...What isand how to use the Spring Web Flow framework How to test your Spring MVC applications How to implement Spring Security Who ...

Global site tag (gtag.js) - Google Analytics