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

Basic concepts
Core concepts overview
Event processing
Writing Java handlers
Writing Groovy handlers
Firing events
Global Context
Global Context reference
Application directory layout
Virtualized directories
Writing rich Web applications
Features and configuration
Configuration
Debugging
Dependencies
Packaging
Application Classpath
Logging and tracing
RESTful resources
Creating RESTful documentation
File serving
Response rendering
Validators and validation
HTTP error handling
Client programming with Dojo
Runtime Options
Deployment modifications
HTTP configuration
SSL configuration
Proxy configuration
Security
Security considerations
Authentication
Extending security
Security Tokens
Token support
Extending token support
Leveraging TAI
User service
File based user service
LDAP user service
Extending user service
Security Utilities
Leveraging XOREncoder
Assemble
Calling Out to a Remote Resource
Using the Connection API
Sending an email
Configuring destinations
Configuring protocols
Protocol reference
HTTP protocol
SMTP protocol
File protocol
Event protocol
Assemble Flows and Mediations
Using flows
Getting started with Assemble flow
Creating a simple feed flow
Creating a simple Assemble flow
Creating a simple extension
Problem determination
A Flow language example
Creating and running a new flow
Writing flows using a Groovy DSL
Creating new flow activities
Writing extensions in the flow language
Writing extensions in Groovy
Adding validation rule
Configuring the graphical tool
Using the GUI to work with flows
Feed perspective of the GUI tool
Advanced Features
Using the flow samples
Flow language reference
Flow language behavior and syntax
Running processes and activities
Built-in activities
Extension activities
Feed Operators
XML Operators
Using mediations
Configuring mediations
Creating new mediations
Supplied mediation steps
Static router
Java logger
XPath logger
REST2SOAP
Extensions
Atom support
Atom Enabling a Database
RSS support
JSON support
XMLEncoder
URIUtils
Developer Web tools
Data access
Common query patterns
Advanced query patterns
Update patterns
Local database transactions
Extending data access
Config vendor differences
PHP data access
Resource Model
Setup and configuration
Resource Model declaration
Programmatic Model API
HTTP REST API
Active content filtering support
Default filters
Custom filters
Other Extension Modules
Amazon E-Commerce Service
Reference
Zero command line interface
JavaDoc - Public API
JavaDoc - Public SPI
JavaDoc - All Classes
Samples and services
Samples
The Zero Zone Application
Services
Blogging service
Commenting service
File sharing service
Group service
Profile service
Rating service
Tagging service
Catalog Zero

 

Getting started with Assemble

The Project Zero Assemble component provides the capability to access different services and assemble them into a Project Zero application. It can be used in a variety of different ways. For example:

  • Constructing a feed style application that processes and aggregates a set of feeds from different sources.
  • Constructing a conversational application that coordinates interactions with services.
  • Allowing Project Zero applications to access services through a common API.

It is sometimes useful to associate functions such as transformation, routing and logging with existing services. The Assemble framework enables this type of functionality that it calls mediation.

Flows

The functionality for constructing applications that produce feeds or conversational applications is provided through the flow component. This is an optimized and highly specialized flow engine for processing data feeds, and coordinating interactions with other services. For more information on how this is done, see the Using flows section.

Integration fabric

The integration fabric provides the ability to manage the resources that a Project Zero application will use. It contains destinations that represent the resources which can be accessed. These destinations include the configuration on how the services can be found, and any mediations that need to be run before the service is invoked.

Installing and configuring

See the Zero Getting Started Guide for instructions on how to set up a Zero development environment. The Project Zero Assemble component libraries are not installed into the local repository by default. You must download the zero.assemble.flow module for flow support, and zero.assemble.core for integration fabric, call API and mediations. See Using flows and Calling a resource from a Project Zero application for more information. Then use the following steps:

  1. In both cases, create a new Project Zero project.
  2. Open the config/ivy.xml file.
  3. Under Dependencies, click Add and then, Manage Repository.
  4. On the right hand side, under Remote Repositories, enter zero for Organization.
    • For Flow support, enter zero.assemble.flow in the Module field.
    • For Integration Fabric alone, enter zero.assemble.core in the Module field.
  5. Click Search.
  6. Once the search has completed, select the located components, and click <<Download and then Close.
  7. Now when you click Add under Dependencies, the necessary zero.assemble component should appear in the Dependency selection dialog box, and can be selected, as normal.

r20 - 26 Oct 2007 - 09:08:48 - yili
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site