Arthur
Arthur

Reputation: 3473

Jetty How to re-deploy war

Now I have read Jetty docs http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty#Setting_a_Web_Application_Context .

But there are no info about how to make code with hot re-deploy of the war file with scanInterval.

It must re-deploy war file if it changed.

How to code this?

Upvotes: 2

Views: 3442

Answers (1)

jesse mcconnell
jesse mcconnell

Reputation: 7182

For hot deploy you need to deploy the webapp with the deployment manager and the webapp or context provider.

http://wiki.eclipse.org/Jetty/Feature/Hot_Deployment

the xml shown there (and in the distribution in the jetty-deploy.xml and jetty-webapps.xml) can be converted to java simply

Upvotes: 1

Related Questions