tags:

views:

1212

answers:

5

I am coming from an Enterprise Java background which involves a fairly heavyweight software stack, and have recently discovered the Stripes framework; my initial impression is that this seems to do a good job of minimising the unpleasant parts of building a web application in Java.

Has anyone used Stripes for a project that has gone live? And can you share your experiences from the project? Also, did you consider any other technologies and (if so) why did you chose Stripes?

+5  A: 

We converted a home-grown web framework to stripes in about a week. We're using it in production at this time and it's a great framework. The community is extremely helpful, and the framework doesn't get in your way. It can be extended in many places to change the behavior as you see fit. The url binding feature is awesome as well. We implemented a robust security framework using annotations and interceptors. We're using spring for dependency injection and stripes has excellent support for that.

I'd definitely use the new 1.5 release if you're going to use it.

I'm a huge fan of the framework. I came from a struts background and it's the exact framework I was looking for. The other developers on our team really enjoy using the stripes framework.

I just bought the stripes beta book from the pragmatic programmer's site. It's a great resource on Stripes 1.5.

ScArcher2
How big of an application did you move? Was it mostly your typical CRUD or did you have complex Javascript?
Jason Cohen
Our application presents data from a lot of different back in systems. It brings that data into one place. Our CRUD type stuff was mostly in the admin part of the site. We're using the yui javascript framework for layout and ajax stuff. It's a pretty large application though about 38,000 LOC.
ScArcher2
Thanks for your answer. Very encouraging ... I've spent some time learning PHP on top of my existing J2EE skills but Stripes might lure me back.
Andrew Whitehouse
+7  A: 

We use stripes now on all our production sites, and have been for about a year now. It is an awesome product compared to struts, which we used to use before that. Just the fact that there are literally no XML config files and that you can set it all up with a minimal amount of classes and annotations is awesome.

In terms of scaling & speed it actually seems to be better than struts, and my guess would be because there are less layers involved. The code you end up with is a lot cleaner as well, because you don't have to go off to seperate XML files to find out where redirects are going.

We use it with an EJB3 backend, and the two seem to work really well together, because you can use your EJB POJO inside your actionBean object, without needing a form object like in struts.

In our evaluation we considered an alpha version of struts (that supported annotations) and a lot of other frameworks, but stripes won because of it's superior documentation, stability and clean-ness.

Couldn't figure out how to leave a comment: so to answer your second question we haven't encountered a single bug in Stripes that I know of. This is quite impressive for an open source framework. I haven't tried the latest version (1.5) yet, but 1.4.x is very stable.

rustyshelf
Thanks for your answer. How reliable has the core codebase been (i.e. have you encountered any defects)?
Andrew Whitehouse
Now that this answer is nearly 2 years old, I'd be VERY interested in an update on how your stripes projects are.
digitaljoel
+4  A: 

I also came from a Struts and JSF background into Stripes. I went from a large enterprise environment that used mostly struts and JSF on newer projects, to a smaller environment that did all their J2EE in Stripes.

Seems like Stripes gives you what you want in a Web Framework without getting in the way too much. Not much configuration is necessary, as others have already mentioned. Very quick development and allows you to focus on presentation etc. instead of hassling with the framework.

If I had to start a fresh new project and I had my say, I would choose either Stripes or JSF. I might have been scared away from Stripes if I had to make the decision to switch to it, because it kind of looks/feels like a sourceforge basement project instead of a enterprise-grade framework, but it seems to be fairly solid. We use Stripernate for easy ORM.

However, it reminds me of Fruit Stripe gum, which lost its flavor WAY TOO FAST.

lucas
+5  A: 

We have now used Stripes in multiple production projects and so far the experience has been great. Setup time is low and the configuration management issues seem to be fewer. We have webapps running with Stripes/Dojo/Hibernate and others with a mix of Stripes/Spring/JSP/Jquery etc. Adding Stripes to our existing projects was fairly simple thanks to their support for integrating existing Spring configurations. Using Stripes with JSP is fun although sometimes you do feel the need to code in Java and not have to use the JSTL so much.

Note: This is an old question, but given that it pops up pretty fast when you search for Stripes usage, I am adding a response to it.

Thimmayya
A: 

Stripes is yesterdays technology, if you can pick something a little more modern like GWT.

mP
This is like saying HTML is yesterdays technology and you should only be using Javascript as it's modern. Because Stripes is an action based framework for generating HTML pages and GWT is a Java to Javascript compiler for building RIA applications (good for making sure Google never finds you're website!)
Kdeveloper
Well the poster did not mention SEO was a concern so a pure JS application or some mixture does not appear to be a problem. Most business apps that do crud and the like do not need to be searchable.
mP