Broadcast on Broadcast off
The Documentation for Project Zero has moved. Please update your bookmarks to: http://www.projectzero.org/documentation/
Table of
Contents...
Hide

Project Zero Developer’s Guide

Concepts and components
Basic concepts overview
Event processing
Writing Java handlers
Writing Groovy handlers
Firing events
Global Context
Global Context reference
Application directory layout
Virtualized directories
Assemble
PHP
Features and configuration
Configuration
Debugging
Dependencies
Packaging
Application classpath
Logging and tracing
RESTful resources
RESTful documentation
File serving
Response rendering
Validators and validation
HTTP error handling
Calling a remote resource
Using the Connection API
Sending an email using EmailConnection
Configuring destinations
Configuring protocols
Configuring connection handlers
Creating a connection handler
Creating a custom protocol transport
Simple logging connection handlers
Protocol reference
Client programming with Dojo
Runtime options
Deployment modifications
HTTP configuration
SSL configuration
Proxy configuration
Extending the CLI
Security considerations
Authentication
OpenID authentication
Extending security
Security tokens
CSRF prevention support
Extending token support
Leveraging TAI
User service
File based user service
LDAP user service
Extending user service
Security Utilities
Leveraging XOREncoder
Extensions
Atom support
RSS support
JSON support
XMLEncoder
REST to SOAP extension
URIUtils
Developer Web tools
Database setup tools
Configuring data access
Common query patterns
Advanced query patterns
Update patterns
Local database transactions
Extending data access
Configuration vendor differences
PHP data access
Resource model
Configuring ZRM
Resource model declaration
Programmatic model API
HTTP REST API
A ZRM mini tutorial
Active content filtering support
Default filters
Custom filters
Runtime management
Management commands
Zero socket opener
Other extension modules
Amazon E-commerce service
Flickr service
WeatherZero forecast service
Wikipedia service
Reference
Zero command line interface
JavaDoc - Public API
JavaDoc - Public SPI
JavaDoc - All Classes

 

Zero Management CLI extensions reference

This topic contains an alphabetical list of the additional commands that can be issued from the Zero command line when the application includes zero.management

info

Description
Retrieves the basic information required to access the application when it is in the running state. This usually includes the base URL and port numbers for the application once started but may include HTTPS settings or other information.

restart

Description
Causes the application runtime to be restarted. All configuration files will be reloaded as the process exits and is restarted. There is no resolve step in a restart of an application. While the restart command is faster than separate stop then start commands, changes to the application's ivy.xml or to the repository will not be picked up.

start

Description
Starts the application. The application is started as a background process, rather than in the foreground as when the run command is used. An resolve step is included as part of the start process, so any changes to the application's ivy.xml file or to the repository will be picked up.

status

Description
Retrieves the current state of the application. Valid states are STOPPED, STARTED, and UNKNOWN. UNKNOWN can occur if the application has a running process associated with it but it can not be reached via its base URL as reported by the info command.

stats

Description
Retrieves the current statistics for the application. Statistics available are dependent on the operating system and Java runtime environment that the application is using, but include request statistics, Java heap and memory information, and operating system process resource information.

stop

Description
Stops an application that is running. The application can either be in the foreground, if the zero run command was used, or in the background, as in the case that the zero start command was used to start the process.

r2 - 08 Feb 2008 - 15:21:56 - rushall
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site