Having tried both, I think Struts 2 is nowhere near the quality of Stripes. The whole concept of building on top of a framework originating from the early 2000's (WebWork) makes it feel quite dated already - things like annotations seem like an afterthought at best. Also, Struts 2 has lots of external dependencies like XWork, OGNL, etc. A bug in those will affect the whole framework, and there sure seem to be lots of bugs in XWork. Performance isn't a strong point of Struts 2 either: it seems to give about 1/3 of the performance of Stripes. YMMV of course, but it's a good idea to look into this too if you are building a site that will face heavy traffic.
On Wed, Aug 20, 2008 at 11:03 PM, Gérald Quintana <[EMAIL PROTECTED]> wrote: > - Interceptor: wth S2, i couldn't find how to insert an interceptor > without redefining the whole chain (with some XML glue of course). > With Stripes an annotation on the class and it's done! > - OGNL: OGNL is yet another language to learn, Stripes uses the > standard language EL > - Value Stack (remember the <nested> tags in S1): this may be > something powerful, but it's soooo complicated that I didn't dare > using it. Stripes doesn't have: it's useless. > - Tag Lib: S2 provided it's OGNL compatible tag lib but it's not JSTL > compatible. Stripes is standard compliant: JSTL is a must have > - Page language: S2 tag lib are rendered with Freemarker templates: it > looks interesting (theming) at first, and then you realise it 's > overwhelming. S2 page rendering can be done with JSP, FreeMarker, > Velocity. It can also work without any web server: this is nonsense. > - URL Binding: the Codebehind plugin is must have but it's not as > simple and powerful than Stripes > - Templating: i never used SiteMesh, but Tiles is hell. Tiles can't > work withouth XML configuration, it makes me crazy to reference ALL my > pages in this tiles-config.xml file! > - Documentation: there is a lot of S1 documentation around the web. > But S2 documentation is not as numerous. > - Packaging: lots of java packages: xwork, ognl, struts... > > Some things which may be missing with Stripes: > - Forward/Redirect: they can be marked with annotations @Result making > it easy to see which action uses which page. > - Components: S2 provides some extra components like table, date > picker... They are fully integrated through plugins (and tag libs): > Dojo, YUI, JSCalendar... > - Ajax: S2 JSON Plugin transforms an action into a JSON-RPC end point > with Dojo RPC in mind. > - Config Browser: this plugin is very interesting for beginners, it > displays the mapping URL/Action. > - OSGI: S2 is following this buzz word: will it be it the next big > thing in Java land? > > About the question "what's after S1?": > - Struts 2.1 is different from 2.0. > - Spring MVC 3.0 will be huge refactoring from previous versions and > may be big player > > In a word: S2: powerful and (very) complicated/Stripes: simple and efficient > > Gerald > > 2008/8/19, Freddy D. <[EMAIL PROTECTED]>: >> Hi all, >> >> If anyone has experience with both Stripes and Struts2, it would be great >> if you >> could write-up your impressions on how they compare. This isn't for me, by >> the >> way; but I'm sure it is a reasonable question for people who know Struts2 >> and >> are interested in Stripes. With the Stripes 1.5 release, it might become a >> frequently asked question - perhaps it would be worth it, along with all the >> other updates to be done on the Stripes wiki, to add a Struts2 comparison as >> an "upgrade" to the already existing Struts1 comparison page. >> >> What do you think? >> >> Thanks in advance to any contributors. >> >> Cheers, >> Freddy >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Stripes-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/stripes-users >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
