embedding jetty in a war file

View: New views
1 Messages — Rating Filter:   Alert me  

embedding jetty in a war file

by nambi s :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I trying to embed jetty inside a war file.
The idea is to start jetty as follows,

   java -jar myapp.war --port 8080

This should start jetty on 8080 in localhost and deploy the war file in the jetty instance started.

have anyone tried this before?