Have one to sell? Sell yours here
Struts Survival Guide: Basics to Best Practices (J2ee Survival Series)
 
 
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 Survival Guide: Basics to Best Practices (J2ee Survival Series) [Paperback]

Srikanth Shenoy (Author), Nithin Mallya (Author)
4.1 out of 5 stars  See all reviews (28 customer reviews)


Available from these sellers.



Book Description

J2ee Survival Series February 2004
Struts is the most popular MVC framework used for J2EE web application development. This book covers the Struts architecture and basics such as data validation, tags and I18N.

In addition, it covers a lot of tips, strategies and best practices for Struts based application design and development, many of them not found elsewhere. It tells you how to fill the gaps in Struts and what features are important in J2EE projects.

The book provides a robust exception handling strategy that is production-ready. You will learn how to edit List based forms in Struts. You will also see how to use Paging framework with Struts and neat tricks. You will see when does customizing Struts really make sense in real projects.

What's inside
Struts basics - architecture, validation, tags, I18N
Best Practices for designing Action classes
Action chaining
Robust exception handling with Struts
Using Image buttons in Forms
List Forms
Paging libraries for Struts
Handling Duplicate Form submission in generic way
Customizing Struts


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Srikanth Shenoy specializes in the architecture, design, development, and deployment of large J2EE and EAI projects. He has helped clients in the manufacturing, logistics, and financial sectors to realize the Java's "write once, run anywhere" dream.

Nithin Mallya specializes in providing enterprise solutions for financial clients. He has built transaction intensive systems using various distributed object technologies.


Product Details

  • Paperback: 224 pages
  • Publisher: ObjectSource Publications (February 2004)
  • Language: English
  • ISBN-10: 0974848808
  • ISBN-13: 978-0974848808
  • Product Dimensions: 9.9 x 6.9 x 0.6 inches
  • Shipping Weight: 15.2 ounces
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (28 customer reviews)
  • Amazon Best Sellers Rank: #2,048,388 in Books (See Top 100 in Books)

More About the Author

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

 

Customer Reviews

28 Reviews
5 star:
 (15)
4 star:
 (6)
3 star:
 (3)
2 star:
 (3)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (28 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

27 of 27 people found the following review helpful:
5.0 out of 5 stars PDF version of this book available for Free, April 2, 2005
This review is from: Struts Survival Guide: Basics to Best Practices (J2ee Survival Series) (Paperback)
I am the author and publisher of this book.

This is an informational entry to let everybody know that the PDF version of this book is available free from the Publisher ObjectSource LLC - http://www.objectsource.com

While you are there, also grab goodies such as companion workbook for the Struts Survival Guide.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


14 of 14 people found the following review helpful:
5.0 out of 5 stars A MUST read for every Struts developer, February 27, 2004
By 
"arvind_fremont" (Fremont, CA United States) - See all my reviews
This review is from: Struts Survival Guide: Basics to Best Practices (J2ee Survival Series) (Paperback)
I started reading the ebook version with some skeptisicm as the book is from a first time Publisher. My view has changed since then remarkably. As I read the ebook, I was impressed by the practical coverage in this book - which also convinced me to buy the printed book. The book has some typos but they are really minor and did not distract me much and neither has prevented me from giving five stars to this book.

The book was best value for my money It manages to do justice to Struts and its best practices in a short 225 page and costs just 14.95. The book deserves its subtitle "Basics to Best Practices".
Doesnt matter if you are a beginer or an expert in Struts - You will find this book useful.

The book starts off with an excellent introduction to MVC and how Struts fits into MVC. It then explains the basics of Struts very well and develops a hands-on application in Struts.

The fun starts from Chapter 4 onwards.
Chapter 4 covers advanced Struts concepts and presents some interesting ideas about Struts Action design.

Chapter 6, 9 and 10 were killer stuff. I have three other Struts books with me, yet I found these chapters totally novel concepts found nowhere else.

For example, Chapter 6 explained how to modify the Struts BaseTag, CheckboxTag to handle some scenarios where they dont work out-of-the-box. It provided a thorough coverage of Struts Form submissions with Image Buttons. I was doing it wrong all these time!!. Chapter 6 also covered JSTL and how to use Struts-EL. Probably the crown jewel(s) from Chapter 6 are:

a) How to handle editable List based Forms
b) How to handle Multi page read only lists (by integrating the popular Pageer Taglib from jsptags.com with Struts)
c) A high-performance page traversal framework mechanism

Chapter 7 covers Tiles. Coverage of Tiles elsewhere I read on the net try to cover every feature in Tiles - many of which confuse me. This book sticks to just one way of using Tiles - which I think is the best way to use Tiles.

Chapter 9 is about Exception handling with Struts. I have one word to say "Fantastic" !!! The coverage of Exception handling alone is probably worth the price of the book. It provides a solid framework to handle Exceptions in Struts, log them in a centralized manner and report and alert in a production environment. I plan to use this framework AS IS in the project I am currently working on. Most other books on Struts limit their exception chapter to explaining differences between Checked v/s Unchecked exceptions and telling how the <global-exception> tags work in the struts-config.xml.

Chapter 10 is for folks who want to customize Struts and reap its benefits in design and development of production systems.
It presents three of four examples of how Struts can be effectively customized.
The best among them was how to how to handle duplicate form submissions in a generic manner. We all have to deal with duplicate form submissions in daily life and handle them on usecase basis by using the Synchronizer tokens. The technique illustrated here no doubt relies on the Sync token but uses it a very ingenious manner, presents a generic Action class. I liked this technique.
Other techniques I liked are that the chapter provides a Dispatch Action like functionality for Image based form submission. The DispatchAction in Struts is great, unfortunately I can use it only under certain restrictions. One of them is that the all of the buttons have to have the same name. This technique removes that restriction and opens a world of possibilities for designing cleaner applications while providing enhanced user experience.

If you architect, design and develop Struts based applications for your living, do yourself a favor - Go buy this book. I bet you will not have it in your book shelf but in your hand everyday.

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


11 of 11 people found the following review helpful:
5.0 out of 5 stars Tons of valuable advice, June 21, 2004
By 
Julie Campbell (Sunnyvale, CA USA) - See all my reviews
This review is from: Struts Survival Guide: Basics to Best Practices (J2ee Survival Series) (Paperback)
I am avid reader. This is my third Struts book. I went for it since my opinion was "it is inexpensive what the heck". Boy! was I in for a surprise or what...

Since I knew Struts already, I skimmed through the initial introductory chapters. I found some good advice that no other Struts book/online materials offered me so far. Here are some I found (in)valuable:

1) Action Chaining

2) The right way to use Image Buttons for Form Submission

3) Some good JSTL and Struts-EL stuff

4) A great Page Traversal framework.

5) Using Pager Taglib with Struts

6) An expert treatise of Exception Handling that goes far beyond "Here is how you confugure exception in struts-config.xml" and tells
a) When to use Struts declarative exception handling and when not to
b) How Struts exception handling complements Servlet exception handling
c) How to log exceptions in a customer-support friendly way so that they can be cross referenced?
d) How to prevent duplicate logging?
e) Strategies for centralized logging
f) Reporting exceptions

7) Customizing Struts to get some real benefits out of it such as:
a) How to fill the gap between ImageButton and DispatchAction, that's so missing
b) Controlling duplicate form submission in a generic manner rather than dealing with it in a per form basis
c) A pageflow controller
d) A <html:cancel> like functionality when images are used for the cancel button

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)
First Sentence:
1. You will learn about Model 1 and Model 2 (MVC) and their differences Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
duplicate form submissions, message resource bundle, declarative exception handling, struts application, handling lifecycle, struts configuration file, configurable controller, iterate tag, controller servlet, server side pages, xml block, logic tags, web tier, logging code, centralized logging, form bean, action mapping, qualified class name, scripting variable, tiles definition, servlet container, grey button, unchecked exceptions, business delegate, custom tags
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Commons Validator, Request Handler, Add Comment, Struts Survival Guide, Struts Action, Hello World, Goto Page, Message Resources, Value List Handler, Java Reflection, John Doe, Transfer Object Assembly, View Data Transfer Object, Application Server Figure, Cancel Operation Performed, Customer Last, Exception String, Full Name, Java Internationalization, Java Introspection
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

Citations (learn more)
This book cites 1 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.
 
(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 ? 0 Feb 12, 2008
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
   


Listmania!


So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject