InfoQ

News

Wicket compared with Spring WebFlow

Posted by Rob Thornton on Mar 14, 2007 08:00 AM

Community
Java
Topics
Web Frameworks
Tags
Wicket ,
Spring Web Flow

Peter Thomas has written a detailed article about his impressions of moving a Spring MVC application to Wicket. He took a few screens from JTrac and ported them to Wicket and ended up very pleased with what Wicket had to offer.

Peter was spurred by the growing buzz around Wicket, including a December article on InfoQ. After migrating, he has come up with a list of relevant points when comparing against Spring MVC / WebFlow (he admits that he has not tried many of the other existing frameworks and so does not try to compare against them). His list of impressions:

  • Pure Java - Being productive in Wicket requires a solid grounding in Java fundamentals
  • Excellent component model
  • Real separation of concerns - all layout is done in HTML
  • No JSPs
  • Re-usability
  • Templates for web pages
  • Ajax
  • Form binding and validation

Peter's application required the use of Acegi, Spring, and Hibernate. Each of which was a straightforward integration. His last point was that Wicket does not require the use of any annotations, which was a plus for him.

In the end, Peter went from a firm believer in Spring MVC and WebFlow to a proponent of Wicket. He writes:

I found WebFlow great because it allowed me to re-use subflows. So as an example if I had a use-case like "assign task to user" and the user did not exist, I could easily call the "create user" flow and then resume the original calling flow at the point where I branched out, you know - all that continuations stuff. But now my conclusion is that you can easily do all that - and more - with Wicket.

In a similar vein, Rob Breidecker has posted an analysis of the various points to consider when choosing a web framework.

No comments

Reply

Exclusive Content

Book Except and Interview : Aptana RadRails, An IDE for Rails Development

Aptana RadRails: An IDE for Rails Development by Javier Ramírez discusses the latest Aptana RadRails IDE, a development environment for creating Ruby on Rails applications.

Fast Bytecodes for Funny Languages

Cliff Click discusses how to optimize generated bytecode for running on the JVM. Click analyzes and reports on several JVM languages and shows several places where they could increase performance.

Scott Ambler On Agile’s Present and Future

Scott Ambler, Practice Lead for Agile Development at IBM, speaks on the current status of the Agile community and practices having a look at the perspective of the Agile’s future.

Manager's Introduction to Test-Driven Development

Dave Nicolette and Karl Scotland try to introduce non-technical managers to one of the most popular Agile development techniques: Test-Driven Development (TDD).

Structured Event Streaming with Smooks

Smooks is best known for its transformation capabilities, but in this article Tom Fennelly describes how you can also use it for structured event streaming.

How to Work With Business Leaders to Manage Architectural Change

Successful architectures evolve over time to meet changing business requirements. Luke Hohmann presents how to collaborate with key members of your business to manage architectural changes.

Colors and the UI

In this article, Dr. Tobias Komischke explains how colors used in a GUI can influence our interaction with a computer and offers advice on using the appropriate colors for the interface.

Building your next service with the Atom Publishing Protocol

In his presentation, recorded at QCon San Francisco, MuleSource architect Dan Diephouse explores ways to use the Atom Publishing Protocol (AtomPub) when building services in a RESTful way.