Check the QuickStart application it has a Start.java, it will be a good starting point.
On Mon, Mar 7, 2011 at 2:35 PM, Brown, Berlin [GCG-PFS] [via Apache Wicket] <ml-node+3339536-1108978845-65...@n4.nabble.com> 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:[hidden > email]<http://user/SendEmail.jtp?type=node&node=3339536&i=0&by-user=t>] > > 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: [hidden > email]<http://user/SendEmail.jtp?type=node&node=3339536&i=1&by-user=t> > For additional commands, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=3339536&i=2&by-user=t> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=3339536&i=3&by-user=t> > For additional commands, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=3339536&i=4&by-user=t> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-wicket.1842946.n4.nabble.com/Run-a-standalone-wicket-app-tp3339521p3339536.html > To start a new topic under Apache Wicket, email > ml-node+1842946-398011874-65...@n4.nabble.com > To unsubscribe from Apache Wicket, click > here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1842946&code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=>. > > -- Sincerely, JC (http://www.linkedin.com/in/jcgarciam) --Anyone who has never made a mistake has never tried anything new.-- -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Run-a-standalone-wicket-app-tp3339521p3339545.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org