<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    andyj2ee

    java tec sky

    統(tǒng)計

    留言簿(4)

    activemq

    aop

    design pattern

    other blog

    spring

    workflow

    多線程

    軟件架構(gòu)師

    閱讀排行榜

    評論排行榜

    spring live 目錄

    Spring Live

    Spring Live

    Chapter Summaries

    This book is written for Java developers familiar with web frameworks. Its main purpose is for Java developers to learn Spring and evaluate it against other frameworks. One of my hopes is to compare Spring to other web frameworks, or at least show how it can be integrated with other frameworks (i.e. Struts, WebWork, maybe even Tapestry down the road). This book will contain a usable sample application that includes Spring code to wire DAOs and Services together. The book does have a bit of a Struts perspective to it as I have been a Struts developer for almost three years and Struts is the most popular web framework today. It is only natural that I use my experience in my writing.

    Chapter 1: Introducing Spring covers the basics of Spring, how it came to be and why it’s getting so much press and rave reviews. It compares the traditional way of resolving dependencies (binding interfaces to implementations using a Factory Pattern) and how Spring does it all in XML. It also briefly covers how it simplifies the Hibernate API.

    Chapter 2: Spring Quick Start Tutorial is a tutorial on how to write a simple Spring web application using the Struts MVC framework for the front end, Spring for the middle-tier glue, and Hibernate for the back end. In Chapter 4, this application will be refactored to use the Spring MVC framework.

    Chapter 3: The BeanFactory and How It Works. The BeanFactory represents the heart of Spring, so it’s important to know how it works. This chapter explains how bean definitions are written, their properties, dependencies, and autowiring. It also explains the logic behind making singleton beans versus prototypes. Then it delves into Inversion of Control, how it works, and the simplicity it brings. This chapter dissects the Lifecyle of a bean in the BeanFactory to show how it works. This chapter also inspects the applicationContext.xml file for the MyUsers application created in Chapter 2.

    Chapter 4: Spring’s MVC Framework describes the many features of Spring’s MVC framework. It shows you how to replace the Struts layer in MyUsers with Spring. It covers the DispatcherServlet, various Controllers, Handler Mappings, View Resolvers, Validation and Internationalization. It also briefly covers Spring’s JSP Tags.

    Chapter 5: Advanced MVC covers advanced topics in web frameworks, particularly validation and page decoration.It shows the user how to use Tiles or SiteMesh to decorate a web application. It also explains how the Spring framework handles validation, and shows examples of using it in the web business layers. Finally, it explains a strategy for handling exceptions in the controllers, how to upload files and how to send e-mail.

    Chapter 6: View Options covers the view options in Spring’s MVC architecture. At the time of this writing, the options are JSP, Velocity, FreeMarker, XSLT, PDF and Excel. This chapter aims to become a reference for configuring all Spring-supported views. It also contains a brief overview how each view works and compares constructing a page in MyUsers with each option. Additionally, it focuses on internationalization for each view

    option.

    Chapter 7: Persistence Strategies. Hibernate is quickly becoming a popular choice for persistence in Java applications, but sometimes it doesn’t fit. If you have an existing database schema, or even pre-written SQL, sometimes it’s better to use JDBC or iBATIS (which supports externalized SQL in XML files). This chapter refactors the MyUsers application to support both JDBC and iBATIS as persistence framework options. It also

    implements the UserDAO using JDO and OJB to showcase Spring's excellent support for these frameworks.

    Chapter 8: Testing Spring Applications explains how to use test-driven development to create high-quality, well-tested, Spring-based applications. You will learn how to test your components using tools like EasyMock, jMock and DBUnit. For the Controllers, you will learn how to use Cactus for in-container testing, and Spring Mocks for out-of-container testing. Lastly, you will learn how to use jWebUnit and Canoo's WebTest for testing the web interface.

    Chapter 9: AOP. Aspect Oriented Programming has received a lot of hype in the Java community in the last year. What is AOP and how can it help you in your applications? This chapter will cover the basics of AOP and give some useful examples of how AOP might help you.

    Chapter 10: Transactions. Transactions are an important part of J2EE, allowing you to view several database calls as one and roll them back if they don’t all succeed. One of the most highlighted features of EJBs is declarative transactions. This chapter demonstrates how Spring simplifies using declarative and programmatic transactions.

    Chapter 11: Web Framework Integration. Spring has its own web framework, but it also integrates well with other frameworks. This allows you to leverage your existing knowledge and still use Spring to manage your business objects and data layer. This chapter explores Spring integration with four popular web frameworks: JSF, Struts, Tapestry and WebWork.

    Appendix A: Examples and References includes explicit examples of JSF, Tapestry, and WebWork integration.

     



    方向:分布式系統(tǒng)設(shè)計

    posted on 2005-03-25 11:37 java光環(huán) 閱讀(887) 評論(0)  編輯  收藏 所屬分類: spring

    主站蜘蛛池模板: 亚洲天天做日日做天天欢毛片| 亚洲国产成人久久一区WWW| 亚洲Av永久无码精品三区在线| www成人免费观看网站| 亚洲av无码国产精品色在线看不卡 | 女人18毛片水真多免费看| 丁香婷婷亚洲六月综合色| 毛片免费观看视频| 日韩欧美亚洲中文乱码| 国产大片51精品免费观看| 永久免费无码日韩视频| 亚洲桃色AV无码| 99在线观看视频免费| 亚洲伊人久久大香线蕉啊| 好吊妞998视频免费观看在线| 亚洲精品国产suv一区88| 又黄又爽一线毛片免费观看| 一区二区三区免费视频播放器 | 亚洲电影国产一区| 国产成人精品免费视频大| 国产成人亚洲综合一区| 国产一区二区三区在线免费观看 | a毛片免费观看完整| 亚洲综合自拍成人| 全免费A级毛片免费看网站| 欧亚一级毛片免费看| 亚洲αv久久久噜噜噜噜噜| 久久久久久精品免费免费自慰| 亚洲欧美成人综合久久久| 亚洲国产精品激情在线观看| 久久大香伊焦在人线免费| 中文文字幕文字幕亚洲色| 亚洲成年人啊啊aa在线观看| 久久免费公开视频| 亚洲日韩国产AV无码无码精品| 亚洲日本在线观看视频| 亚洲精品视频免费在线观看| 色屁屁在线观看视频免费| 亚洲AV日韩AV永久无码下载| 国产色爽免费视频| 免费国产黄网站在线观看|