Versions Compared


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



Use the Container's Java API to control it and execute it A container executing in the same JVM where Cargo is running


Cargo provides different container implementations. A Container implementation can be either standalone or embedded. The embedded mode 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 JARs in your classpath.

Advantages of embbeded mode:


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