# Codehaus Cargo : Deployment

Created by Former user, last modified on Mar 11, 2006

### Definition

How to deploy components to a container

### Explanation

The component to deploy must be wrapped with a Deployable. There are 2 ways to deploy a Deployable:

- By doing a static deployment in a Local Configuration. This type of deployment is done before the container starts.
- By doing a hot deployment using a Deployer. This type of deployment is done after the container is started.

### Deployment features

- Deployable — Deployables are archives (WAR, EAR, etc) that can be deployed in the container
- Deployer — Performs a hot deployment of a Deployable
- Hot Deployment — Ability to deploy/undeploy Deployables into a running container
- JSR88 — JSR88-compliant containers support
- Static Deployment
- Remote deployments to GlassFish 6.x onwards and to recent Payara versions — How to perform deployments to a remote GlassFish 6.x and later containers, as well as to recent versions of Payara