期待更好更穩(wěn)定的開源FrameWork的出現(xiàn),讓我們一起努力吧!  
          日歷
          <2007年6月>
          272829303112
          3456789
          10111213141516
          17181920212223
          24252627282930
          1234567
          統(tǒng)計
          • 隨筆 - 78
          • 文章 - 1
          • 評論 - 29
          • 引用 - 0

          導航

          常用鏈接

          留言簿(1)

          隨筆分類

          隨筆檔案(42)

          文章檔案(37)

          相冊

          搜索

          •  

          積分與排名

          • 積分 - 45255
          • 排名 - 1064

          最新隨筆

          最新評論

          閱讀排行榜

          評論排行榜

           

          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

                                     



            posted on 2007-06-07 21:12 BlueSky_itwangxinli 閱讀(592) 評論(0)  編輯  收藏

            只有注冊用戶登錄后才能發(fā)表評論。


            網(wǎng)站導航:
             
             
            Copyright © BlueSky_itwangxinli Powered by: 博客園 模板提供:滬江博客
            主站蜘蛛池模板: 项城市| 云安县| 密云县| 黄陵县| 敦煌市| 惠州市| 永昌县| 昌黎县| 友谊县| 桦川县| 宜宾市| 霍邱县| 武冈市| 嘉荫县| 平凉市| 明光市| 麟游县| 泽州县| 临武县| 汤原县| 伊春市| 游戏| 南康市| 清涧县| 新晃| 武乡县| 灌南县| 集贤县| 塔河县| 霞浦县| 固阳县| 奎屯市| 琼中| 天水市| 临沧市| 增城市| 桑植县| 东丰县| 屯留县| 巴中市| 平顺县|