File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Quick Question about Stripes? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Quick Question about Stripes?" Watch "Quick Question about Stripes?" New topic
Author

Quick Question about Stripes?

Brian Legg
Ranch Hand

Joined: Nov 07, 2008
Posts: 488
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?

Thank you for your time!


SCJA
~Currently preparing for SCJP6
Frederic Daoud
author
Ranch Hand

Joined: May 22, 2008
Posts: 71
Hi Brian, thank you for your interest!

Originally posted by Brian Legg:
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)


Yes


If so, how hard is it to migrate from a Struts configuration to using Stripes?


The migration should be relatively straightforward. Please see http://www.coderanch.com/t/420814/oa/Migrating-Struts for more detailed explanations.


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://www.coderanch.com/t/420817/oa/Stripes-other-frameworks

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.


Frederic Daoud
Author, Stripes...and Java Web Development is Fun Again
Stripes book
Aaron Porter
Greenhorn

Joined: Feb 26, 2007
Posts: 13
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.

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.
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3355

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.



That's really nice to hear Thanks!


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Brian Legg
Ranch Hand

Joined: Nov 07, 2008
Posts: 488
Thanks for the reply, that is GREAT news to someone like me who has not heard of Stripes yet. Time to go get it approved to the project.
 
 
subject: Quick Question about Stripes?