Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  • 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.
titleInstalling a containers

Please note that CARGO simplifies container installation thanks to its installers; which can automatically download, extract and save the container for you.

Disadvantages of embbeded mode:

  • Potentially difficult to control: the server will inherit whatever has existed in the JVM before the launch, such as predefined properties, existing ClassLoaders, some preinitialized components (XML parsers, etc.) and others.

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
  • Jetty7xEmbeddedContainer: Jetty 7.x implementation