Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »


A container executing in the same JVM where Cargo is running


An embedded container means that Cargo is using directly the container's Java API to control it. If you're using one of the embedded implementation you'll need to ensure that you have the container's JARs in your classpath.

Advantages of embbeded mode:

  • Faster. There's no need to start a new JVM nor new threads.
  • Simpler. There's no need to install the container in a directory

Here is the list of container implementations that support the embedded mode:

  • Jetty4xEmbeddedContainer: Jetty 4.x implementation
  • Jetty5xEmbeddedContainer: Jetty 5.x implementation
  • Jetty6xEmbeddedContainer: Jetty 6.x implementation
  • No labels