module ResourceManager {
typedef sequence<WorkflowModel::WfResource> ResourceSeq;
interface ResourceFactory
{
  ResourceSeq getAvailableResources(in string filter)
    raises(WfBase::InvalidQuery);
  WorkflowModel::WfResource CreatePotentialRelationship(
    in WorkflowModel::WfResource res,
    in WorkflowModel::WfAssignment assign)
      raises(WfBase::BaseException);
  WorkflowModel::WfResource CreateActualRelationship(
    in WorkflowModel::WfResource res,
    in WorkflowModel::WfAssignment assign)
      raises(WfBase::BaseException);
};
};
Resource Manager Module
Andrey Nechypurenko. E-mail: andreynech@yahoo.com Home page: http://www.geocities.com/andreynech
Resource manager module is responsible for locating resources. Currently this module exposes only one interface with a single implemented method. It is obvious that this interfaces should be extended in the future. Resources are located using the filter prameter of the getAvailableResources(…) method as resource name. This method returns the sequence of  WfResource objects. In case of more then one resource returned the caller is responsible for selecting one of the available resources for assignment.
Agent
(http server)
Application2
ApplicationN
CGI
CGI
WfResource
http
WfActivity
set_process_context(…)
add_work_item(…)
WfProcess
start(…)
Application1
iiop
 Note:
BRAZIL PROJECT: THE FUTURE OF WEB
APPLICATION DEVELOPMENT
http://www.sun.com/research/features/brazil/
12/14