Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$22.17 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Sell Back Your Copy
For a $12.75 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Struts 2 in Action
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Struts 2 in Action [Paperback]

Don Brown (Author), Chad Michael Davis (Author), Scott Stanlick (Author)
3.8 out of 5 stars  See all reviews (22 customer reviews)

List Price: $44.99
Price: $26.08 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.91 (42%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 11 left in stock--order soon (more on the way).
Want it delivered Wednesday, February 1? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback $26.08  

Book Description

193398807X 978-1933988078 May 1, 2008 1

The original Struts project revolutionized Java web development and its rapid adoption resulted in the thousands of Struts-based applications deployed worldwide. Keeping pace with new ideas and trends, Apache Struts 2 has emerged as the product of a merger between the Apache Struts and OpenSymphony WebWork projects, united in their goal to develop an easy-to-use yet feature-rich framework. Struts 2 represents a revolution in design and ease of use when compared to classic Struts. It adds exciting and powerful features such as a plugin framework, JavaServer Faces integration, and XML-free configuration.

Struts 2 In Action introduces the Apache Struts 2 web application framework and shows you how to quickly develop professional, production-ready modern web applications. Written by Don Brown, one of the leading developers of Struts 2, Chad Davis, a passionate Struts 2 developer, along with Scott Stanlick, this book gently walks you through the key features of Struts 2 in example-driven, easy-to-digest sections.

Struts 2 in Action delivers accurate, seasoned information that can immediately be put to work. This book is designed for working Java web developers-especially those with some background in Struts 1 or WebWork. The core content, covering key framework components such as Actions, Results, and Interceptors, includes new features like the annotation-based configuration options. You'll find chapters on Struts 2 plugins, FreeMarker, and migration from Struts 1 and WebWork 2. Finally, new topics such as the Ajax tags, Spring Framework integration, and configuration by convention give familiar subjects new depth.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with Java Persistence with Hibernate $37.79

Struts 2 in Action + Java Persistence with Hibernate
  • This item: Struts 2 in Action

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Java Persistence with Hibernate

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Don Brown is the Technical Lead for Hosted Services at Atlassian Software Systems, with a background in the commercial and US Department of Defense sectors. He is a member of the Apache Software Foundation, and has been a Struts committer since 2003. He is also a committer on several Apache Commons projects and a frequent speaker at JavaOne, ApacheCon, and Java user groups.


Product Details

  • Paperback: 432 pages
  • Publisher: Manning Publications; 1 edition (May 1, 2008)
  • Language: English
  • ISBN-10: 193398807X
  • ISBN-13: 978-1933988078
  • Product Dimensions: 9.2 x 7.4 x 0.9 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (22 customer reviews)
  • Amazon Best Sellers Rank: #223,836 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

22 Reviews
5 star:
 (12)
4 star:
 (3)
3 star:
 (1)
2 star:
 (2)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (22 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

19 of 21 people found the following review helpful:
4.0 out of 5 stars Good tutorial and reference - Example Code Needs Improvement, June 11, 2008
Amazon Verified Purchase(What's this?)
This review is from: Struts 2 in Action (Paperback)
I had to learn Struts2 quickly since I recently changed jobs and my new team has several web application projects built using Struts2.

Overall, I thought the book was done very well if you are looking for a good introduction to Struts2. The first 8 chapters are very good.

The main negative is the source code for the book's examples. The authors provide one very large war file with all the source code embedded into the war file along with an overall web application divided into sub-applications for each chapter.

This packaging of the source code into the war file made it difficult for me to create individual projects in my development IDE that demonstrated just the material in a specific chapter. I had to spend quite a bit of time breaking down the source code into individual web projects and then figuring out on my own what jars needed to go into each project, what the struts.xml file needed to have, and what ever else was necessary to separate out just that chapter's sub-application so I could run that example and play with it.

Where this really became a problem was in chapters 9 and 10. Chapter 9 is a very advanced introduction to integrating Spring and Hibernate/JPA into Struts2. I never could get this chapter's example to work correctly.

However, chapter 10 on the validation framework then uses the same code as chapter 9, so you really cannot separate out the code for either chapter 9 and 10.

The validation framework is likely something even beginning Struts2 developers will want to use, while Spring/JPA/Hibernate is for more advanced developers and should have been well after the chapter on how to use the validation framework.

Also, the authors really don't give you a good understanding of what Struts2 jars you need to have to build a basic Struts2 application. There is some information about this in chapter 13 (setting up your IDE) but this information should really be at the beginning of the book. Also I don't think the list the authors provide is accurate since my basic HelloWorld (get the user to enter a name, call an Action class, and then display Hello userName in new jsp) worked with far fewer jars. Note there is apparently a new example war that just is a basic Hello World so there may be some information in that war file. That war was not on the manning web site when I purchased the book.

This book is good but be prepared to struggle working with the code examples if you want to work on the examples in your own development environment.

I recommend the authors create separate complete war files for each chapter's example to make it easier for users to just get that chapter's example code into their development IDE.

Lastly, the book does get 4 stars because the author's explanations of the basics of Struts2 (chapters 1-8) is very easy to follow for experienced Java developers. I'm now ready to tackle the Struts2 applications in my new job.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


10 of 11 people found the following review helpful:
5.0 out of 5 stars Great starter book for Struts 2, May 16, 2008
Amazon Verified Purchase(What's this?)
This review is from: Struts 2 in Action (Paperback)
I took a chance and pre-ordered this book because I have recently started a Struts2 project and wanted to learn more about the framework. The book did not disappoint.

The authors explained the concepts behind the framework clearly and used examples that were immediately useful. The book is a little too short and in many cases a few more details would have been appreciated but it seemed to be a deliberate decision to leave out some of the less common use cases to avoid cluttering up the book. Thus, this book is ideal if you are new to Struts 2 but have some prior experience with Java web development.

I like the fact that an entire chapter was dedicated to integrating Spring and Hibernate into the framework. It brings all the bits and pieces from the online documentation together in a cohesive and comprehensive package.

Chapters were also dedicated to validation, internationalization, best practices and migration from Struts classic. The authors spent several chapters on how the Value Stack and the ActionContext worked and how OGNL fits into this framework.

All in all there is enough information in this book to start and to produce a complete Struts 2 application.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 9 people found the following review helpful:
2.0 out of 5 stars Ponderous read, June 11, 2010
By 
The Commodore (Bloomington, IN) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: Struts 2 in Action (Paperback)
First, this book is outdated already. It covers Struts 2.0, and if you use 2.1 (which you should) you will have problems. This is particularly acute because 2.1 uses a lot of newer convention-based mapping to actions, and a lot of the techniques described in the book are now deprecated.

However, this biggest problem with the book is that it's a ponderous read. The author spends countless pages discussing the minutiae of OGNL and type converters ... way more than a beginner needs to know. However, more critical topics like the Struts2 JSP tags are barely covered until Chapter 6. Other important topics like session management are barely covered at all. This book needs a lot of editing and reorganization before it will be useful for most beginners.

Nevertheless, there is some useful information here for those with the patience to dig for it. I thought the discussion of interceptors was very solid. However, much of this doesn't justify the price of the book. I recommend just downloading the Starting Struts 2 docs from the Apache Struts2 website, and working through it. You'll learn a lot quicker through their "bootstrap" tutorial than you will here.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(11)
(2)
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
How popular is Struts ? 1 Jul 31, 2008
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject