Spring in Action

Spring in Action

4.0 4
by Craig Walls
     
 

View All Available Formats & Editions

Summary

Spring in Action, Fourth Edition is a hands-on guide to the Spring Framework, updated for version 4. It covers the latest features, tools, and practices including Spring MVC, REST, Security, Web Flow, and more. You'll move between short snippets and an ongoing example as you learn to build simple and efficient J2EE applications. Author Craig

…  See more details below

Overview

Summary

Spring in Action, Fourth Edition is a hands-on guide to the Spring Framework, updated for version 4. It covers the latest features, tools, and practices including Spring MVC, REST, Security, Web Flow, and more. You'll move between short snippets and an ongoing example as you learn to build simple and efficient J2EE applications. Author Craig Walls has a special knack for crisp and entertaining examples that zoom in on the features and techniques you really need.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Designed in 2003 as a lighter approach to J2EE development, Spring Framework has since become a standard choice for building enterprise applications and required knowledge for Java developers. Spring 4, the latest major version, provides full Java 8 integration along with key upgrades like new annotations for the IoC container, improvements to Spring Expression Language, and much-needed support for REST. Whether you're just discovering Spring or you want to absorb the new features, there's no better way to master Spring than with this book.

About the Book

Spring in Action, Fourth Edition is a hands-on guide to the Spring Framework. It covers Spring core, along with the latest updates to Spring MVC, Security, Web Flow, and more. You'll move between short snippets and an ongoing example as you learn to build simple and efficient JEE applications. Author Craig Walls has a special knack for crisp and entertaining examples that zoom in on the features and techniques you really need.

Nearly 100,000 developers have used this book to learn Spring! It requires a working knowledge of Java.

What's Inside

  • Updated for Spring 4
  • Spring Data for NoSQL
  • Simplifying configuration with annotations and definition profiles
  • Working with RESTful resources

About the Author

Craig Walls is a software developer at Pivotal. He's a popular author and a frequent speaker at user groups and conferences. Craig lives in Cross Roads, Texas.

Table of Contents

    PART 1 CORE SPRING
  1. Springing into action
  2. Wiring beans
  3. Advanced wiring
  4. Aspect-oriented SpringPART 2 SPRING ON THE WEB
  5. Building Spring web applications
  6. Rendering web views
  7. Advanced Spring MVC
  8. Working with Spring Web Flow
  9. Securing web applicationsPART 3 SPRING IN THE BACKEND
  10. Hitting the database with Spring and JDBC
  11. Persisting data with object-relational mapping
  12. Working with NoSQL databases
  13. Caching data
  14. Securing methods
  15. PART 4 INTEGRATING SPRING
  16. Working with remote services
  17. Creating REST APIs with Spring MVC
  18. Messaging in Spring
  19. Messaging with WebSocket and STOMP
  20. Sending email with Spring
  21. Managing Spring beans with JMX
  22. Simplifying Spring development with Spring Boot

Read More

Editorial Reviews

bn.com
The Barnes & Noble Review
Spring lets you do things with plain-vanilla JavaBeans that formerly required complex EJBs. Learn a few new concepts, follow their implications, and suddenly you’re writing enterprise code that’s cleaner, simpler, and easier to manage. Now two of the first programmers to discover Spring’s power share it with the rest of us. Their enthusiasm’s contagious. You can tell how relieved they are to have finally found a better way.

The concepts you need to learn sound intimidating: “inversion of control,” and (finally out of the advanced computer labs), AOP. But the authors introduce them simply and well, with plenty of examples. You’ll learn how to use Spring’s infrastructure for data persistence, transactions, and more. There’s a full section on presentation, from Spring’s MVC web framework to dynamic PDF generation, even integration with other frameworks (think Struts). By the time you’re done, you’ll like Spring as much as they do. Bill Camarda, from the May 2005 Read Only

Product Details

ISBN-13:
9781617291203
Publisher:
Manning Publications Company
Publication date:
12/01/2014
Edition description:
Fourth Edition
Pages:
624
Sales rank:
310,689
Product dimensions:
7.30(w) x 9.10(h) x 1.40(d)

Meet the Author

Craig Walls is a software developer at Pivotal. He’s a popular author and a frequent speaker at user groups and conferences. Craig lives in Cross Roads, Texas.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

4 out of 5 based on 0 ratings. 4 reviews.
wbarnie More than 1 year ago
While this book is well written, the code example are terrible.  there is no documentation as to how to build the samples.  the maven pom doesn't work and yo cannot pick a chapter and build the sample code from that chapter as it depends on so many previous chapters.  i think one of the most important aspects of learning is being able to  work though samples to re-enforce what you have learned int he chapter.  If you want to learn spring, try another book.
Anonymous More than 1 year ago
Guest More than 1 year ago
'Spring in Action' written by Craig Walls and Ryan Breidenbach and published by Manning Publications is a great entry point to start using the Spring framework It shows many different components that make up Spring. Each Spring component can be used stand-alone. This piece of information early in the book relieves the reader of wondering if this is another one of those ¿use every piece or don¿t use it at all¿ type of software packages. The book shows also how an IoC container operates. Another great area is on Aspect Oriented Programming (AOP). The book is just over 400 pages long, but it is really a quick read. 'Spring in Action' covers a vast array of topics while teaching the Spring framework. To name just a few topics the reader will learn: IoC, AOP, the good & bad of EJB, different ORMs, the nitty-gritty of database transactions, remoting, and of course all the good stuff that Spring provides the programmer. Also it gives a deep look about writing plain old java objects (POJOs) for Spring make your code easily testable, re-usable, and most of the code that you will write while using Spring will not be tied to the framework with proprietary import statements. The later chapters talk of how Spring can be integrated with Velocity, FreeMarker, Struts, Tapestry, JSF and WebWork. Although Spring comes with its own MVC framework, I think the Struts integration section in the book will help readers decide if they want to stick with the tried and tested Apache Struts or adopt Spring MVC. It would have been good if the book presented EJB 3.0 as some articles have already noted that going with EJB 3 standards and annotations based approach might be a better option than going with Spring.
Guest More than 1 year ago
I thought this was an excellent book. The way the book was written made it easy to read without the normal technical book boredom. The book was well structured and takes you from the simple examples through to more complex examples like security. Other than the writing style I had two ¿favorite things¿ about this book. My first favorite thing was that concepts that might be new to the reader like inversion of control (IoC) and Aspects (AOP) were explained clearly, concisely and thoroughly. My other favorite thing about this book was the fact that the authors showed a good understanding of building real world applications showing you a number of ways to do the same thing. For example, database access was covered using JDBC, JDO, Hibernate, iBATIS and others and the incorporation of Web tier alternatives like Struts, Velocity, Tiles, Tapestry, etc. This alone made the book stand out because the authors did not, as is so often done, show you one way and then expect you to figure out the rest. The authors explore these alternatives and highlight the pros and cons of each of them. This equips the reader with the rationale to make the appropriate choice for their specific circumstances. If Spring is something you need to know or would just like to know about, this book would be a great buy.