This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Stripes and Front Controller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Stripes and Front Controller" Watch "Stripes and Front Controller" New topic
Author

Stripes and Front Controller

M Rama
Ranch Hand

Joined: Mar 04, 2005
Posts: 91
I am getting a hang of what stripes is all about. Having used none of the frameworks, this question might apply to something like struts as well.

We have a home grown MVC which has a servlet as the single point of entry into the application. This servlet not only decides what to do next, but also make sure the proper security is enforced and so on.

How would something like this implemented with stripes, as the form submission takes the control to the actionlistener and specific methods.
Frederic Daoud
author
Ranch Hand

Joined: May 22, 2008
Posts: 71
Stripes also works this way: when a request comes in, Stripes determines which Action Bean and which event handler method will handle the request.

For security, you can implement an interceptor, which is code that runs for every request at specific times in the Stripes lifecycle. This is easier to do than writing a servlet filter, and is tightly integrated within Stripes.


Frederic Daoud
Author, Stripes...and Java Web Development is Fun Again
Stripes book
 
 
subject: Stripes and Front Controller
 
Similar Threads
WA #1.....word association
what is stripes exactly?
Stripes
JSF maturity
What web development technology should I use?