Deploying a WebStack Application

When deploying an application, it is possible to use a one-shot deploy function for certain frameworks. The deploy function is called as follows:

deploy(resource)
deploy(resource, authenticator) # where authenticators are used

For some frameworks, an address may be specified:

deploy(resource, address=(host_string, port_integer))
deploy(resource, authenticator, address=(host_string, port_integer))
Framework Address Information
BaseHTTPRequestHandler Supported
CGI Ignored
Twisted Supported (host_string is ignored)
WSGI Ignored

The other frameworks do not support the deploy function due to the way applications are typically integrated into the various server mechanisms:

Framework Deployment Details
JavaServlet Applications are packaged specially
ModPython Applications must expose certain functions
Webware Applications must expose certain classes
Zope Applications must expose certain functions/classes