Book description
Spring in Action 2E is an expanded, completely updated second edition of the best selling Spring in Action.
Written by Craig Walls, one of Manning's best writers, this book covers the exciting new features of Spring 2.0, which was released in October 2006.
Spring is a lightweight container framework that represents an exciting way to build enterprise components with simple Java objects. By employing dependency injection and AOP, Spring encourages loosely coupled code and enables plain-old Java objects with capabilities that were previously reserved for EJBs. This book is a hands-on, example-driven exploration of the Spring Framework. Combining short code snippets and an ongoing example developed throughout the book, it shows readers how to build simple and efficient J2EE applications, how to solve persistence problems, handle asynchronous messaging, create and consume remote services, build web applications, and integrate with most popular web frameworks. Readers will learn how to use Spring to write simpler, easier to maintain code so they can focus on what really matters-- critical business needs.
Spring in Action, 2E is for Java developers who are looking for ways to build enterprise-grade applications based on simple Java objects, without resorting to more complex and invasive EJBs. Even hard-core EJB users will find this book valuable as Spring in Action, 2E will describe ways to use EJB components alongside Spring. Software architects will also find Spring in Action, 2E useful as they assess and apply lightweight techniques prescribed by Spring. and learn how Spring can be applied at the various layers of enterprise applications.
Table of contents
- Copyright
- Praise for the First Edition
- Preface
- Preface to the First Edition
- Acknowledgments
- About this Book
- About the Title
- About the Cover Illustration
-
1. Core Spring
-
1. Springing into action
-
1.1. What is Spring?
-
1.1.1. Spring modules
- The core container
- Application context module
- Spring’s AOP module
- JDBC abstraction and the DAO module
- Object-relational mapping (ORM) integration module
- Java Management Extensions (JMX)
- Java EE Connector API (JCA)
- The Spring MVC framework
- Spring Portlet MVC
- Spring’s web module
- Remoting
- Java Message Service (JMS)
-
1.1.1. Spring modules
- 1.2. A Spring jump start
- 1.3. Understanding dependency injection
- 1.4. Applying aspect-oriented programming
- 1.5. Summary
-
1.1. What is Spring?
- 2. Basic bean wiring
-
3. Advanced bean wiring
- 3.1. Declaring parent and child beans
- 3.2. Applying method injection
- 3.3. Injecting non-Spring beans
- 3.4. Registering custom property editors
- 3.5. Working with Spring’s special beans
- 3.6. Scripting beans
- 3.7. Summary
- 4. Advising beans
-
1. Springing into action
-
2. Enterprise Spring
- 5. Hitting the database
- 6. Managing transactions
-
7. Securing Spring
- 7.1. Introducing Spring Security
- 7.2. Authenticating users
- 7.3. Controlling access
- 7.4. Securing web applications
- 7.5. View-layer security
- 7.6. Securing method invocations
- 7.7. Summary
-
8. Spring and POJO-based remote services
- 8.1. An overview of Spring remoting
- 8.2. Working with RMI
- 8.3. Remoting with Hessian and Burlap
- 8.4. Using Spring’s HttpInvoker
- 8.5. Spring and web services
- 8.6. Summary
- 9. Building contract-first web services in Spring
-
10. Spring messaging
- 10.1. A brief introduction to JMS
- 10.2. Using JMS with Spring
- 10.3. Creating message-driven POJOs
- 10.4. Using message-based RPC
- 10.5. Summary
- 11. Spring and Enterprise JavaBeans
- 12. Accessing enterprise services
-
3. Client-side Spring
-
13. Handling web requests
- 13.1. Getting started with Spring MVC
- 13.2. Mapping requests to controllers
- 13.3. Handling requests with controllers
- 13.4. Handling exceptions
- 13.5. Summary
- 14. Rendering web views
-
15. Using Spring Web Flow
- 15.1. Getting started with Spring Web Flow
- 15.2. Laying the flow groundwork
- 15.3. Advanced web flow techniques
- 15.4. Integrating Spring Web Flow with other frameworks
- 15.5. Summary
- 16. Integrating with other web frameworks
-
13. Handling web requests
- A. Setting up Spring
- B. Testing with (and without) Spring
Product information
- Title: Spring in Action, Second Edition
- Author(s):
- Release date: August 2007
- Publisher(s): Manning Publications
- ISBN: 9781933988139
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Microservices Patterns
Microservices Patterns teaches you how to develop and deploy production-quality microservices-based applications. This invaluable set of …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Fundamentals of Software Architecture
Salary surveys worldwide regularly place software architect in the top 10 best jobs, yet no real …