Posts mit dem Label tech werden angezeigt. Alle Posts anzeigen
Posts mit dem Label tech werden angezeigt. Alle Posts anzeigen

Sonntag, 30. Mai 2010

(tech) jetty wrapper

So far, mailxel was using winstone as servlet container. As it turns out, embedding jetty in a similar fashion is straight forward. The relevant ingredients are published here:
  • ejetty.jar
    Contains the launcher code (suppresses jetty logs)
  • ejetty-wrap.ant.xml
    Contains the ant script to create a delivery jar file which contains all required components
ejetty is configured as follows:

host=127.0.0.1
port=6060
war=/embedded.war
url=http://localhost:6060

The result of this configuration: the embedded.war is deployed, jetty is started and your browser is opened at the given URL.

Feel free to use this wrapper and enjoy.