spring or jetty.xml?

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2010-05-20T14:26:32Z Indexed on 2010/05/20 19:30 UTC
Read the original article Hit count: 239

Filed under:
|

I have a spring web application (currently packaged as a war file) which I would like to be able to launch from jetty in a stand-alone configuration (small scale all-in-one deployment, and for launching in the development environment).

Since I am already using spring, it seems like what I want to do is create my jetty Server and WebContext objects, and initial JNDI context using spring. However this seems to overlap with the jetty.xml method of configuring the same environment.

Is one approach better? Is the does jetty.xml offer anything easier than I can get using spring?

© Stack Overflow or respective owner

Related posts about jetty

Related posts about spring