Stripes (framework)

Stripes

Original author(s)| Tim Fennell
Initial release| 2005; 21 years ago (2005)
Stable release|

1.6.0 / July 23, 2015; 10 years ago (2015-07-23)

Written in| Java
Operating system| Cross-platform
Platform| Java Virtual Machine
Type| Web application framework
License| Apache License 2.0
Website| {{{1}}}

Stripes is an open source web application framework based on the model–view–controller (MVC) pattern. It aims to be a lighter weight framework than Struts by using Java technologies such as annotations and generics that were introduced in Java 1.5, to achieve "convention over configuration". This emphasizes the idea that a set of simple conventions used throughout the framework reduce configuration overhead. In practice, this means that Stripe applications barely need any configuration files, thus reducing development and maintenance work. It has been dormant since 2016.

## Contents

* 1 Features
* 2 Example
* 3 Bibliography
* 4 External links

## Features

* Action based MVC framework
* No configuration files
* POJOs
* Annotations replace XML configuration files
* Flexible and simple parameter binding
* Search engine friendly URLs
* Runs in J2EE web container
* JUnit integration
* Easy internationalization
* Wizard support
* JSP layouts
* JSP or freemarker templates as View
* Spring integration
* JPA support
* AJAX support
* Fileupload support
* Compatible with Google App Engine
* Open-source
* Lightweight

## Example

A Hello World Stripes application, with just two files:

HelloAction.java

import net.sourceforge.stripes.action.ActionBean;
import net.sourceforge.stripes.action.ActionBeanContext;
import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.ForwardResolution;
import net.sourceforge.stripes.action.Resolution;
import net.sourceforge.stripes.action.UrlBinding;

@UrlBinding("/hello-{name=}.html")
public class HelloAction implements ActionBean {
private ActionBeanContext context;
private String name;

public ActionBeanContext getContext() {
return context;

public void setContext(ActionBeanContext context) {
this.context = context;

public void setName(String name) {
this.name = name;

public String getName() {
return name;

@DefaultHandler
public Resolution view() {
return new ForwardResolution(“/WEB-INF/HelloWorld.jsp”);

HelloWorld.jsp

<html><body>
Hello ${actionBean.name}<br/>
<br/>
<s:link beanclass="HelloAction"><s:param name="name" value="John"/>Try again</s:link><br />
</body></html>

No additional configuration files needed.

## Bibliography

* Daoud, Frederic (October 27, 2008). Stripes: ...and Java Web Development Is Fun Again. Pragmatic Programmers (1st ed.). Pragmatic Bookshelf. pp. 396. ISBN 978-1-934356-21-0. http://www.pragprog.com/titles/fdstr/stripes.
* Glover, Andrew (2009-01-20). "Shed the weight with Groovlets". JavaWorld. https://www.infoworld.com/article/2072589/shed-the-weight-with-groovlets.html.
* Hoang Le, Kevin (2006-10-06). "Revisiting the logout problem". JavaWorld. https://www.infoworld.com/article/2077458/revisiting-the-logout-problem.html.
* Jose, Benoy (2006-09-29). "Stripes Takes Struts to the Next Level". Java Boutique. DevX. http://javaboutique.internet.com/reviews/stripes/.
* Allmon, B.J. (2006-08-22). "Configureless J2EE development with Stripes, Apache Derby, and Eclipse". developerWorks. IBM. http://www.ibm.com/developerworks/opensource/edu/os-dw-os-ad-configureless.html.
* Smith, Rick (2006-07-17). "Struts to Stripes—A Road Worth Traveling". DevX. http://www.devx.com/Java/Article/31921.
* Eagle, Mark (2007-01-24). "Java Web Development with Stripes". ONJava. O'Reilly & Associates. http://www.onjava.com/pub/a/onjava/2007/01/24/java-web-development-with-stripes.html.
* Santos, Samuel (2009-09-17). "Java Web Development with Stripes". JavaPT09. Portugal Java User Group. https://speakerdeck.com/samaxes/java-web-development-with-stripes. Retrieved 2020-08-06.
* Shan, Tony; Hua, Winnie (2006). "Taxonomy of Java Web Application Frameworks". ICEBE'06. pp. 378–385. doi:10.1109/ICEBE.2006.98. ISBN 0-7695-2645-4.
* Watson, Brent (2015). Stripes by Example. Apress. doi:10.1007/978-1-4842-0980-6. ISBN 978-1-4842-0981-3.

## External links

*   *   *   *   *   * on GitHub

* v
* t
* e

Web frameworks

* Comparison

C++|

* CppCMS
* Wt

CLI|

* ASP.NET
* Core
* AJAX
* Dynamic Data
* MVC
* Razor
* Web Forms
* DNN
* BFC
* MonoRail
* OpenRasta
* Umbraco
* WebSharper

ColdFusion|

* CFWheels
* ColdBox Platform
* ColdSpring
* Fusebox
* Model-Glue

Common Lisp|

* Caveman2
* CL-HTTP
* Weblocks

Haskell|

* Yesod
* Snap

Java|

* AppFuse
* Flexive
* Grails
* GWT
* ICEfaces
* ItsNat
* JavaServer Faces
* JHipster
* Jspx
* JWt
* OpenXava
* Play
* Remote Application Platform
* RIFE
* Seam
* Sling
* Spring
* Stripes
* Struts
* Tapestry
* Vaadin
* Vert.x
* WebWork
* Wicket
* WaveMaker
* ZK

JavaScript|

* Angular/AngularJS
* Backbone.js
* Chaplin.js
* Closure
* Dojo Toolkit
* Ember.js
* Express.js
* Ext JS
* jQuery
* Knockout.js
* Meteor
* MooTools
* Node.js
* OpenUI5
* Prototype
* React
* Rico
* script.aculo.us
* Sencha Touch
* SproutCore
* Svelte
* Vue.js
* Wakanda

Perl|

* Catalyst
* Dancer
* Mason
* Maypole
* Mojolicious
* WebGUI

PHP|

* CakePHP
* CodeIgniter
* Drupal
* Fat-Free
* FuelPHP
* Flow
* Grav
* Gyroscope
* Horde
* Joomla
* Kohana
* Laravel
* Lithium
* Midgard
* MODX
* Nette
* Phalcon
* PHP-Fusion
* Pop PHP
* PRADO
* ProcessWire
* Qcodo
* Silex
* SilverStripe
* Symfony
* TYPO3
* WordPress
* XOOPS
* Yii
* Zend Framework

Python|

* BlueBream
* CherryPy
* Django
* Flask
* Grok
* Nevow
* Pyjs
* Pylons
* Pyramid
* Quixote
* TACTIC
* Tornado
* TurboGears
* web2py
* Webware
* Zope 2
* more...

Ruby|

* Camping
* Merb
* Padrino
* Ruby on Rails
* Sinatra

Scala|

* Lift
* Play
* Scalatra

Smalltalk|

* AIDA/Web
* Seaside

Other languages|

* Vibe.d (D)
* Application Express (PL/SQL)
* Grails (Groovy)
* Kepler (Lua)
* OpenACS (Tcl)
* Phoenix (Elixir)
* SproutCore (JavaScript-Ruby)
* Yaws (Erlang)

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Stripes (framework). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Stripes_(framework)&oldid=737533"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template