Right click on your project → New → General → Deployment Profiles → WAR File
Give a profile name, e.g. wicket, and click OK.
Specify the hot deploy directory of JBoss using the Browse… button.
Now you can easily deploy the application by right clicking on project → Deploy → wicket → to WAR file
Your application is available at http://localhost:8080/wicket/.