Guide to Building Business Processes

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Creating a Business Process Application

WebLogic Integration extends the BEA WorkSpace Studio graphical design environment to allow the building of integrated enterprise applications. A WLI application in turn contains projects and files. A project can contain several components including, business processes, controls, Web services, and XML files.

This section describes the components of a WLI application, the steps you follow to create an application in BEA WorkSpace Studio, and how to incorporate a business process in your application. It includes the following topics:

 


Components of Your Application

This section outlines some of the high-level components you create as you build your business process application and how they appear in the deployed application based on the names that you choose for these components.

Application—The components of the application you are creating are represented in a tree structure on the Package Explorer pane in your BEA WorkSpace Studio environment. If the Package Explorer pane is not visible in BEA WorkSpace Studio, choose Window > Show View > Other > Java > Package Explorer from the BEA WorkSpace Studio menu. An example of Package Explorer pane is shown in Figure 2-1.

Figure 2-1 Sample Package Explorer

Sample Package Explorer

A WLI application will have the following projects (For example, the preceding figure represents an application named Tutorial_Process_Application and includes an Enterprise Application Project, Web Project, and Utility Project):

 


Designing Your Application

You build your application in BEA WorkSpace Studio by adding projects to an application. A project contains components of your application such as business processes, Web services, control files, and XML files.

Creating a Business Process Application

To quickly get started designing business processes, you can create an application that contains a basic business process file, which you can customize with your business process logic. To do so, complete the following procedure:

To Create a New Application
  1. From the BEA WorkSpace Studio menu, click File > New > Other....
  2. The Select a wizard dialog box is displayed.

  3. Expand WebLogic Integration and select Process Application and click Next.
  4. In the Process Application dialog box, type the details as shown in the following example:
    1. In the EAR Project Name field, enter Process_Application_EAR.
    2. In the Web Project Name field, enter Process_Application_Web.
    3. In the Utility Project Name field, enter Process_Application_Utility.
  5. Select Add WebLogic Integration System and Control Schemas in Utility Project check box.
  6. This adds the system schemas to the Utility Project/schemas folder.

  7. Click Finish.
  8. This creates an application that contains a basic business process project, which includes a business process file that contains only a Start and Finish node (process.java).

    Note: If you select Tutorial: Process Application instead of Process Application, WebLogic Workshop creates an application containing components for the Business Process. To learn about taking the tutorial, see Tutorial: Building Your First Business Process.You can also build an ebXML or RosettaNet participant business process in WorkSpace Studio by using specially created templates. For more information about how to create these participant processes, see Building ebXML Participant Business Processes and Building RosettaNet Participant Business Processes.
  9. In the displayed Open Associated Perspective? dialog box, click Yes to switch from J2EE Perspective to Process Perspective.
  10. Note: The Open Associated Perspective? dialog box appears when creating a Business Process for the first time in a Workspace.
  11. The Process Application is created and displayed in the Package Explorer pane, as shown in Figure 2-2.
  12. Figure 2-2 Package Explorer


    Package Explorer

The Tutorial:Getting Started with Workshop briefly describes the components and tools you use to design your business process in the BEA WorkSpace Studio graphical design environment.

Subsequent topics in this guide describe in detail how to design specific business process patterns, including tasks such as:

To learn about these tasks and others, see Topics Included in This Section.

Setting the Business Process Properties

There are several properties which you can view and configure for your business process in the JPD Configuration pane.

To Set the Business Process Properties
  1. Select the Start node of the business process for which you want to configure the properties.
  2. If the JPD Configuration pane is not visible in BEA WorkSpace Studio, choose Window > Show View > JPD Configuration from the BEA WorkSpace Studio menu bar.
  3. In the JPD Configuration pane the following properties are displayed: general and process .

general
process

Setting the Business Process Annotations

There are several properties which you can view and configure for your business process in the Properties pane of your business process start node.

To Set the Business Process Annotations
  1. Select the Start node of the business process for which you want to configure the annotations.
  2. If the Properties pane is not visible in BEA WorkSpace Studio, choose Window > Show View > Properties from the BEA WorkSpace Studio menu bar.
  3. In the Properties pane, the following annotation are displayed:

BeanInfo
ClassReliable
Ebxml

For information about ebXML annotation, see http://download.oracle.com/docs/cd/E13214_01/wli/docs102/wli.javadoc/com/bea/wli/jpd/EbXML.html.

FeatureInfo

For information about FeatureInfo annotation, see http://commons.apache.org/modeler/commons-modeler-1.0/docs/api/org/apache/commons/modeler/FeatureInfo.html.

Handler
ManifestAttribute

For information about ManifestAttribute annotation, see http://beehive.apache.org/docs/1.0/apidocs/classref_controls/org/apache/beehive/controls/api/packaging/ManifestAttribute.html.

ManifestAttributes

For information about ManifestAttribute annotation, see http://beehive.apache.org/docs/1.0.2/controls/apidocs/javadoc/org/apache/beehive/controls/api/packaging/ManifestAttributes.html.

Protocol

For information about Protocol annotation, see http://download.oracle.com/docs/cd/E13214_01/wli/docs102/wli.javadoc/com/bea/wli/common/Protocol.html.

Rosettanet

For information about RosettaNet properties, see http://download.oracle.com/docs/cd/E13214_01/wli/docs102/wli.javadoc/com/bea/wli/jpd/RosettaNet.html.

Schemas
Stateful
TargetNamespace
Version
WSSecurityCallback
WSSecurityService
Wsdl
XmlNamespaces
Com.bea.wli.common.XQuery
Com.bea.wli.jpd.Process
Note: WS-Security policy (WSSE) files are not supported for business processes (JPDs). Therefore, the following annotations are not supported for JPD files: com.bea.wli.common.WSSecurityCallback and com.bea.wli.common.WSSecurityService.
Note: If you want to use WS-Security, then you must front-end the JPD with a JWS. The client would invoke a JWS using WS-Security, then the JWS would locally invoke the JPD via a Process Control.

Related Topics

Handling Exceptions

Process Instance Monitoring


  Back to Top       Previous  Next