background preloader

Embedded

Facebook Twitter

Tiny Java Web Server aka Miniature JWS. Embedding Tomcat 7. One of the more anticipated features of Tomcat 7 is the ability to run as an embedded server like Jetty.

Embedding Tomcat 7

We use Tomcat 6 in production, but embedded Jetty more and more for running and testing during development (in Eclipse). The Tomcat 7 beta has been out for a while, but there seems to be little documentation out there on how to embed it, other than some suggestions to look at the unit tests for examples. So that’s what I did! Embedded Servlet Container & Database - Arjun Web World. So you want to write a web application, bundle into a war and send it to someone who can then run that war on his machine, making his machine the web server.

Embedded Servlet Container & Database - Arjun Web World

You dont want them to setup tomcat , mysql instances and you want to embed a servlet and a database within the war bundle. The 2 choices for embedding a servlet container are: