Spring jar包簡介

來源:互聯網
上載者:User
Spring jar包簡介


1. spring.jar 是包含有完整發布模組的單個jar 包。 

2. org.springframework.aop 包含在應用中使用Spring的AOP特性時所需的類。 

3. org.springframework.asm  Spring獨立的asm程式, Spring2.5.6的時候需要asmJar 包, 

     3.0開始提供他自己獨立的asmJar。 

4. org.springframework.aspects 提供對AspectJ的支援,以便可以方便的將面向方面的功能整合進IDE中, 

    比如Eclipse AJDT。 

5. org.springframework.beans所有應用都要用到的,它包含訪問設定檔、建立和管理bean 

     以及進行Inversion of Control / Dependency Injection(IoC/DI)操作相關的所有類。 

6. org.springframework.context.support包含支援緩衝Cache(ehcache)、JCA、JMX、 

    郵件服務(Java Mail、COS Mail)、任務計劃Scheduling(Timer、Quartz)方面的類。 

7. org.springframework.context為Spring核心提供了大量擴充。可以找到使用Spring ApplicationContext 

   特性時所需的全部類,JDNI所需的全部類,UI方面的用來與模板(Templating)引擎如 Velocity、FreeMarker、 

   JasperReports整合的類,以及校正Validation方面的相關類。 

8. org.springframework.core 包含Spring架構基本的核心工具類,Spring其它組件要都要使用到這個包裡的類, 

     是其它組件的基本核心。 

9. org.springframework.expression  Spring運算式語言。 

10. org.springframework.instrument.tomcat Spring3.0對Tomcat的串連池的整合。 

11. org.springframework.instrument Spring3.0對伺服器的代理介面。 

12. org.springframework.jdbc 包含對Spring對JDBC資料訪問進行封裝的所有類。 

13. org.springframework.jms 提供了對JMS 1.0.2/1.1的支援類。 

14. org.springframework.orm 包含Spring對DAO特性集進行了擴充,使其支援 iBATIS、JDO、OJB、TopLink, 

      因為Hibernate已經獨立成包了,現在不包含在這個包裡了。這個jar檔案裡大部分的類都要依賴spring-dao.jar 

      裡的類,用這個包時你需要同時包含spring-dao.jar包。 

15. org.springframework.oxm  Spring 對Object/XMl的映射支援,可以讓Java與XML之間來回切換。 

16. org.springframework.test  對Junit等測試架構的簡單封裝。 

17. org.springframework.transaction為JDBC、Hibernate、JDO、JPA等提供的一致的聲明式和編程式交易管理。 

18. org.springframework.web.portlet  SpringMVC的增強。 

19. org.springframework.web.servlet  對J2EE6.0 的Servlet3.0的支援。 

20. org.springframework.web.struts Struts架構支援,可以更方便更容易的整合Struts架構。 

21. org.springframework.web 包含Web應用開發時,用到Spring架構時所需的核心類,包括自動載入 

      WebApplicationContext特性的類、Struts與JSF整合類、檔案上傳的支援類、Filter類和大量工具輔助類。 

轉載自:http://michero.iteye.com/blog/918781

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.