Skip to end of metadata
Go to start of metadata

The Servlet 2.5 Protocol implementation is used by most EE5 compliant containers. It will attempt to add a war to the deployment.

Packaging rules

@Deployment Output Action
JavaArchive EnterpriseArchive Create a new EnterpriseArchive, add @Deployment and ServletProtocol as module, the other Auxiliary Archives as libraries.
WebArchive WebArchive If a web.xml is found, a Servlet will be added, else a web.xml will be added. The Servlet WebArchive will be merged with the Deployment and the Auxiliary Archives added as libraries.
EnterpriseArchive EnterpriseArchive Same as JavaArchive, but using the @Deployment defined EnterpriseArchive instead of creating a new.

Configuration

Protocol Configuration Options

Name Type Default Description
host String none Used to override the Deployments default hostname.
port int none Used to override the Deployments default http port.
contextRoot String none Used to override the Deployments default contextRoot.
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.