InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Wicket compared with Spring WebFlow

Posted by Rob Thornton on Mar 14, 2007

Sections
Development
Topics
Java ,
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

Watch Thread Reply

Educational Content

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.