Thursday, December 10, 2009

Quick WLI tutorial

the nodes ina project can be:

Start
Finish
Client Request nodes: receive an event
Client Response
Decision nodes: branch execution
    Condition
Control Send nodes: communicate with services
Control Send with return
Control Receive nodes: wait for an asynchronous response from external services

Perform

Other types of node:
Decision
Switch
While do
Do While

For Each
Branch
Parallel
Event Choice
Group
Transaction


Projects:
Web: contains WebServices, XQuery, Transformations, Business Processes, Service Controls


A Process is defined by an annotation @Process with a long XML defining the structure of the process (nodes, branches etc)


Data Palette:
lists all  variables (XML or Non-XML, Java types); and all Controls (ServiceControl, FileControl...)



@com.bea.wli.common.XQuery  is a tag to define XQuery code

A Process implements a com.bea.jpd.ProcessDefinition Interface (marker Interface).

It generally contains member variables of type XmlObject or XmlObjectList; they store portion of the XML documents.

@com.bea.wli.jpd.Callback identifies callback points for asynchronous services.

Controls extend com.bea.control.ServiceControl, which manages credentials, endpoints, timeouts to make calls to Services.

Transformations implement com.bea.transform.TransformSource (marker Interface).

All processes (.jpd) contain a JpdContext (com.bea.wli.jpd.Context)

No comments: