I am very interested in Stripes (anything that can save me time!!) and I have a couple questions.
First off, does Stripes replace Struts? (please say yes)
If so, how hard is it to migrate from a Struts configuration to using Stripes?
Lastly, about the book itself, it seems that configuration and setup is much simpler using Stripes, if so why does it need an entire book? What are the main topics that the book covers?
Lastly, about the book itself, it seems that configuration and setup is much simpler using Stripes, if so why does it need an entire book? What are the main topics that the book covers?
Configuration and setup is only a couple of pages in the book
Really, the book is much more about teaching the reader, with detailed explanations and many examples, how to use the features of Stripes to their full potential.
Furthermore, because Stripes is not full stack, the book also covers how to integrate several other frameworks to address those needs (database, middle-tier, AJAX, testing, and so on). The list of frameworks that are covered in the book are listed in this thread: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=83&t=001986
So, to summarize, Stripes is not difficult to learn, but the book will teach you many useful techniques and show you how to solve typical web application requirements with Stripes.
There are several people including me who have Struts and Stripes co-existing while they migrate away from Struts. Because of the incredible binding system in Stripes we cut out 3/4 of the code required in Struts although I don't know if that's typical. Mostly, we just needed to copy the logic from Struts and update JSPs. The biggest advantage for me was getting rid of all of the abstraction in Struts. Now I don't have to open 15 different files to figure out what's going on.
I've been using Stripes since 2005 writing several plugins for it along the way and I still learned quite a bit from the book. It has extremely good coverage. You can see the table of contents here.
Originally posted by Aaron Porter: Yes, Stripes does replace Struts. YAY!
There are several people including me who have Struts and Stripes co-existing while they migrate away from Struts. Because of the incredible binding system in Stripes we cut out 3/4 of the code required in Struts although I don't know if that's typical. Mostly, we just needed to copy the logic from Struts and update JSPs. The biggest advantage for me was getting rid of all of the abstraction in Struts. Now I don't have to open 15 different files to figure out what's going on.