Have a look at the Wicket quickstart project under
src/test/java/com/mycompany/Start.java.
There is a main() method there that does exactly what you describe.
On 07/03/2011 12:34 PM, Brown, Berlin [GCG-PFS] wrote:
That is a more a jetty question. Research the server jetty classes.
...
import org.mortbay.jetty.Connector;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.bio.SocketConnector;
import org.mortbay.jetty.webapp.WebAppContext;
Server server = new Server();
server.start();
-----Original Message-----
From: Mauro Ciancio [mailto:maurocian...@gmail.com]
Sent: Monday, March 07, 2011 12:26 PM
To: Wicket Mailing List
Subject: Run a standalone wicket app
Hello all,
I'd like to create a jar with a wicket application inside that can be
run from the command line as it were a desktop application. I'm using
maven and jetty and it would be great if jetty could start and listen on
a port.
Any hints or links would be really appreciated.
Thanks in advance.
Regards.
--
Mauro Ciancio
http://about.me/maurociancio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org