Home > Java, qwicket, wicket > Introducing Qwicket

Introducing Qwicket

July 9th, 2006 jlee

I love wicket but like most frameworks, starting a new project can be a real hassle. You’re either left to recode everything from scratch or, if you can, copying over an existing project and removing the vestiges of the old project and updating to the new one. This sort of works but tends to be tedious and error prone. So, taking a page from appfuse, I decided to create a quickstart application for wicket. Qwicket is a swing-based generator that will create the basic skeleton of a wicket+spring+hibernate application so you can get straight to application development. The code generated is based on what I’ve learned from the last few projects I’ve done in wicket. The generated code will continue to evolve as I receive feed back and fine tune the generation based on experience.

The decision to use a swing based generator is very intentional. I could’ve gone the ant route like appfuse did but if you’ve looked at the gymnastics that ant requires in appfuse, you’ll begin to understand why I chose to go this route. Right now, there aren’t really many options to set. Eventually what I plan on having is choices for using ibatis rather than hibernate, for example. I’d also like to have a basic bean builder and CRUD pages generator. Once features like this come on line, the Swing GUI makes more sense. Also, I’d really like to have this run via webstart eventually so you don’t need to check out a svn repository to run it.

As wicket and qwicket continue to evolve, hopefully it will be very easy to track those changes. I’ve also debated adding support for qwicket to be able to edit an existing qwicket-based project but I’m afraid that’s going down a road I’d rather not travel. For now, I hope this project can help beginners and experienced wicket users alike in the wicket development.

Share and Enjoy:
  • Digg
  • Reddit
  • del.icio.us
  • Google Bookmarks
  • DZone
  • LinkedIn
  • Technorati
  • email
Categories: Java, qwicket, wicket
  1. July 10th, 2006 at 04:15 | #1

    Justin, can you update the link the the Wicket home page to: http://wicketframework.org ?

    We will be moving our project website to that URL and host it on another server in the near future.

    Congrats on the QWicket project!

    Martijn

  2. July 10th, 2006 at 10:34 | #2

    Kudos! Is this for Wicket 1.2?

  3. July 10th, 2006 at 16:18 | #3

    Correct. Qwicket will support 2.0 as soon as it’s released but for now practicality says we stick with 1.2. When 2.0 gets closer, I’ll start integrating it ahead of release so that hopefully as soon as Wicket 2.0 ships, we can flip the switch and start using it.

  4. July 11th, 2006 at 09:11 | #4

    Why flip the switch? Even though some people might want to switch to 2.0 once it’s out, I’m sure that a lot of people would rather be able to start a new project using the more stable 1.2 version. I would, instead of a switch, add a drop-down so you could select which version of wicket you want to use.

  5. July 11th, 2006 at 09:20 | #5

    Supporting both versions could be tricky. Once we see what migration issues there are with 2.0 perhaps a more intelligent decision can be made in that regard. If it’s too complicated, though, I don’t have much desire to try to support that. We’ll have to see though. Changes like the constructor change are pretty significant. Here’s the list so far: http://www.wicket-wiki.org.uk/wiki/index.php/Migrate-2.0.

  6. chuck
    August 8th, 2006 at 19:44 | #6

    Typical maven project — broken. One of the draws of Wicket is that it doesn’t itself use maven.

    I know pretty much how to fix these errors, but I already DID for half of them (javamail, ejb3) at least twice, and I am *sick and tired* of continually jumping through the hoops of a mavenized project.

    BUILD FAILED
    /home/chuck/dl/unpack/qwicket/build.xml:22: Unable to resolve artifact: required artifacts missing:
    javax.persistence:ejb:jar:3.0-public-draft-20060327
    wicket:wicket:jar:1.2-SNAPSHOT
    org.hibernate:hibernate:jar:3.2.0cr1
    wicket:wicket-extensions:jar:1.2-SNAPSHOT
    javax.mail:mail:jar:1.3.3
    wicket:wicket-spring-annot:jar:1.2-SNAPSHOT
    wicket:wicket-spring:jar:1.2-SNAPSHOT

Comments are closed.