Wicket – Tired of Spring MVC/WebFlow, JSP or JSF?

Wicket is a GUI framework recently promoted to a top level apache project. I’ve only studied it through it’s apache pages and look at code examples. But I do hope to try it out in a project.

Spring MVC has state issues, WebFlow is xml-programming and JSP messes up the html for our designers. This one of more things Wicket claims to differentiate upon. So, what’s my immediate analysis/feeling of Wicket?

pro:

  • pure html/xhtml. Paradise for designers!  (The components, buttons, labels etc. are given unique ids)
    • handles the state. (No more nasty HttpSession manipulation)
    • no back-button issues
    • more java, which is what I’m really good at
    • less xml
    • no jsp, only html and java (and design-stuff, whatever that is)

    con:

    • more java and code lines. Looks a lot like swing. You’d have to write new lots and lots of times. (Yes, I know, also listed as pro)
    • uses session in the background, which might put restrictions on server capacity (I really don’t think this is a big issue at all, we tend to exaggerate this)

    I think that about covers my quick analysis. Anyone have any experiences with it or don’t share my opinions, I’d like to know :)

    One Response to “Wicket – Tired of Spring MVC/WebFlow, JSP or JSF?”

    1. Ha Vo Says:

      Hi, I did some research and these were some results:

      More opinions on:
      http://java.dzone.com/news/what-serverside-java-web-framework-will-be-next-2008

      which is a summary and enhancement of this discussion:
      http://www.linkedin.com/answers/technology/web-development/TCH_WDD/153121-105236?searchIdx=1&sik=1207494804717&goback=%2Easr_1_1207494804717

      Some articles on the web:
      http://www.javalobby.org/java/forums/t60786.html
      http://www.infoq.com/news/2006/12/wicket-vs-springmvc-and-jsf
      http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html

      How Wicket really separates UI and functionality:
      From: http://ptrthomas.wordpress.com/2007/03/02/wicket-impressions-moving-from-spring-mvc-webflow/

      And you wanna checkout this blog of one of the core developers:
      http://chillenious.wordpress.com/

      We have made the choice to work with it and I personally have encountered some great help from Eelco Hillenious and Jonathan Locke

      We’re going to develop our the portal solutions with Wicket in the front end.

    Leave a Reply