Broadcast on Broadcast off
The Documentation for Project Zero has moved. Please update your bookmarks to: http://www.projectzero.org/documentation/
Advanced Wiki Search
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

 

Runtime management

The zero.management extension enables Zero applications running on a server to be managed and to manage other Zero applications. Examples of some of the types of management functions a Zero application will gain by including this package are starting, stopping, restarting, monitoring, statistics and configuring other applications. Zero management is unique, in that once the management extension has been added to a running Zero application, not only does that application gain the ability to be managed, but all of the other Zero applications running from the same location can be managed.

Objectives

The goal of the zero.management extension is to provide a robust set of tools and APIs to allow the day-to-day administration of Zero applications which are running and being used by your users. They are a set of runtime extensions, rather than development time extensions. The goals for these tools and APIs are:

  • Provide CLI commands to allow complete control of an Application's lifecycle.
  • Provide a REST API to allow programmatic control of an Application's lifecycle and configuration.
  • Provide a management GUI, to allow administrators to access the functions provided by the REST API.
  • Allow a peer to peer style administration, such that there is no master controlling process or master agent.

Managed application versus unmanaged application

The design of the zero.management package allows for any application which includes management to manage itself as well as other applications installed in the same directory. However, some functions are only available if the other peer applications also include the zero.management package. For example, if the statistics are requested for an application which does not include a dependency on zero.management, then the statistics will not be available.

Throughout the documentation of the zero.management package, an application which includes zero.management will be referred to as a Managed Application, and any app that does not include the package will be referred to as an Unmanaged Application.

Adding zero.management to your application

You must resolve a dependency? in order to add zero.management to your application. Start by adding the following line to the dependencies element in your config/ivy.xml file:
      <dependency org="zero" name="zero.management" rev="1.0+"/>

If you're using Eclipse, then the dependency is automatically resolved when you save the modified ivy.xml file. Steps to resolve from the command line are outlined on the dependencies page?.

r8 - 30 Sep 2009 - 17:53:41 - jeffo
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site