 |
Spring in Action, 2nd Edition View Larger Image | Craig Walls, Ryan Breidenbach Manning Publications, Paperback, 2nd edition, Published August 2007, 600 pages, ISBN 1933988134 | List Price: $49.99 Our Price: $31.50 You Save: $18.49 (37% Off)
| | | Availability: In-Stock |
Read an excerpt:
Chapter 13: Handling web requests
Excerpt provided courtesy of Manning Publications. Copyright © Manning Publications Co. Written permission from the publisher is required for any use of this material.
|
Be the First to Write a Review and tell the world about this title!People who purchase this book frequently purchase: - Java Persistence with Hibernate; Christian Bauer, et al, $37.50, 37% Off!
- Pro C# 2008 and the .NET 3.5 Platform 4th Edition; Andrew Troelsen, $36.95, 38% Off!
- EJB 3 in Action; Debu Panda, et al, $37.50, 17% Off!
- Effective Java, 2nd Edition; Joshua Bloch, $30.95, 38% Off!
Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
Spring is a fresh breeze blowing over the Java landscape. Based on the principles
of dependency injection, interface-oriented design, and aspect-oriented programming,
Spring combines enterprise application power with the simplicity of plain-old
Java objects (POJOs).
In this second edition, Spring in Action has been completely updated
to cover the exciting new features of Spring 2.0. The book begins by introducing
you to the core concepts of Spring and then quickly launches into a hands-on
exploration of the framework. Combining short code snippets and an ongoing example
developed throughout the book, it shows you how to build simple and efficient
J2EE applications. You will see how to solve persistence problems, handle asynchronous
messaging, create and consume remote services, build web applications, and integrate
with most popular web frameworks. You will learn how to use Spring to write
simpler, easier to maintain code so that you can focus on what really matters--your
critical business needs.
Table of Contents
preface
preface to the first edition
acknowledgments
about this book
about the title
about the cover illustration
Part 1 Core Spring
- Springing into action
- What is Spring?
- A Spring jump start
- Understanding dependency injection
- Applying aspect-oriented programming
- Summary
- Basic bean wiring
- Containing your beans
- Creating beans
- Injecting into bean properties
- Autowiring
- Controlling bean creation
- Summary
- Advanced bean wiring
- Declaring parent and child beans
- Applying method injection
- Injecting non-Spring beans
- Registering custom property editors
- Working with Spring’s special beans
- Scripting beans
- Summary
- Advising beans
- Introducing AOP
- Creating classic Spring aspects
- Autoproxying
- Declaring pure-POJO aspects
- Injecting AspectJ aspects
- Summary
Part 2 Enterprise Spring
- Hitting the database
- Learning Spring’s data access philosophy
- Configuring a data source
- Using JDBC with Spring
- Integrating Hibernate with Spring
- Spring and the Java Persistence API
- Spring and iBATIS
- Caching
- Summary
- Managing transactions
- Understanding transactions
- Choosing a transaction manager
- Programming transactions in Spring
- Declaring transactions
- Summary
- Securing Spring
- Introducing Spring Security
- Authenticating users
- Controlling access
- Securing web applications
- View-layer security
- Securing method invocations
- Summary
- Spring and POJO-based remote services
- An overview of Spring remoting
- Working with RMI
- Remoting with Hessian and Burlap
- Using Spring’s HttpInvoker
- Spring and web services
- Summary
- Building contract-first web services in Spring
- Introducing Spring-WS
- Defining the contract (first!)
- Handling messages with service endpoints
- Wiring it all together
- Consuming Spring-WS web services
- Summary
- Spring messaging
- A brief introduction to JMS
- Using JMS with Spring
- Creating message-driven POJOs
- Using message-based RPC
- Summary
- Spring and Enterprise JavaBeans
- Wiring EJBs in Spring
- Developing Spring-enabled EJBs (EJB 2.x)
- Spring and EJB3
- Summary
- Accessing enterprise services
- Wiring objects from JNDI
- Sending email
- Scheduling tasks
- Managing Spring beans with JMX
- Summary
Part 3 Client-side Spring
- Handling web requests
- Getting started with Spring MVC
- Mapping requests to controllers
- Handling requests with controllers
- Handling exceptions
- Summary
- Rendering web views
- Resolving views
- Using JSP templates
- Laying out pages with Tiles
- Working with JSP alternatives
- Generating non-HTML output
- Summary
- Using Spring Web Flow
- Getting started with Spring Web Flow
- Laying the flow groundwork
- Advanced web flow techniques
- Integrating Spring Web Flow with other frameworks
- Summary
- Integrating with other web frameworks
- Using Spring with Struts
- Working Spring into WebWork 2/Struts 2
- Integrating Spring with Tapestry
- Putting a face on Spring with JSF
- Ajax-enabling applications in Spring with DWR
- Summary
appendix A Setting up Spring
appendix B Testing with (and without) Spring
index
web content
- web chapter: Building portlet applications
- appendix C: Spring XML configuration reference
- appendix D: Spring JSP tag library reference
- appendix E: Spring Web Flow definition reference
- appendix F: Customizing Spring configuration
About the Authors
Craig Walls is a software developer with over 12 years' experience
and coauthor of XDoclet in Action. He is a zealous promoter of the Spring
Framework, speaking frequently at local user groups and conferences and writing
about Spring on his blog. When he's not slinging code, Craig spends as much
time as he can with his wife, two daughters, 7 birds, 4 dogs, 2 cats, and an
ever-fluctuating number of tropical fish. Craig lives in Denton, Texas.
An avid supporter of open source Java technologies, Ryan Breidenbach
has developed Java web applications for the past seven years. He lives in Coppell,
Texas.
|
 |