Wicket-Iolite

About

Wicket Iolite is meant to provide you a very quick start with wicket using a persistence model. Wicket Iolite are a maven archetype and currently contains a project skeleton which are using spring and jpa for persistence.

It generates a two module project like this:

parent

|-core

|-web

The name it'self comes from the Iolite gem.


Features


* Spring are setup
* JPA are setup

CommandLine

Wicket 1.4 (iolite 0.3)

mvn archetype:generate -DarchetypeGroupId=org.wicketstuff.iolite -DarchetypeArtifactId=wicketstuff-iolite -DarchetypeVersion=0.3-SNAPSHOT -DarchetypeRepository=http://wicketstuff.org/maven/repository -DgroupId=com.mycompany -DartifactId=myproject -Dpackage=com.mycompany -Dversion=1

And you need JTA installed heres an article on how http://www.jugpadova.it/articles/2005/11/26/maven-2-spring-and-jta-depencies

Once generate enter project directory and run mvn install, then enter web directory and run mvn jetty:run that will start jetty on port 8080 , you can also run mvn eclipse:eclipse from project directory. If you want to debug your application  just debug start.java in the test directory of the web folder. 

*notice that it requires maven 2.0.9 and min maven archetype plugin 2.0-alpha 2, otherwise you'll get errors

Wicket 1.3 

mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-iolite -DarchetypeVersion=1.3-SNAPSHOT -DremoteRepositories=http://wicketstuff.org/maven/repository -DgroupId=com.mycompany -DartifactId=myproject

Future

In the future it could be possible that wicket iolite would support several persistence providers & IOC providers etc.


Browse Space

- Pages
- News
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced
- Activity

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

or Sign Up  

Other Features

Add Content