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?
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