Step 1: Create Your Business Process Application

In this step, you use WebLogic Workshop to create the application, in which you build the tutorial business process (RequestQuote.jpd). The tasks in this step include:

To Create a Business Process Tutorial Application

  1. From the WebLogic Workshop menu, click File —> New —> Application. The New Application dialog box is displayed.
  2. In the left pane of the New Application dialog box, select Tutorial, then in the right pane select Tutorial: Process Application.
  3. image

  4. In the Directory field, select the directory in which you want to create your application.
  5. In the Name field, enter Tutorial_Process_Application.
  6. Click the arrow beside the Server field to display a list of servers, then choose the sample integration server. For example, on a Windows system, the path to the integration server is:
  7. BEA_HOME\weblogic81\samples\domains\integration 
    

    where BEA_HOME is the directory in which you installed WebLogic Platform.

  8. Click Create.
  9. The Tutorial Process Application is created and displayed in the Application pane. If the Application pane is not visible in WebLogic Workshop, choose View —> Application from menu bar.
  10. image

    The Application pane displays a hierarchical representation of the files and resources available in your application. It includes the following components:

    Tutorial_Process_Application—The application folder.

    Schemas—A Schemas project that contains the XML Schemas and the Message Broker channel file used in the application.

    Tutorial_Process_ApplicationWeb—A Web application project folder. Every application contains one or more projects. Projects represent WebLogic Server Web applications. In other words, when you create a project, you are creating a Web application. (The name of your project is included in the URL that clients use to access your application.)

    Web Applications are J2EE deployment units that define a collection of Web resources such as business processes, Web services, JSPs, servlets, HTML pages, and can define references to external resources such as EJBs.

    Note: The Web application project folder is named by appending Web to the name you gave your application.

    requestquote—Contains your project files and folders:

  11. In this tutorial, you build the RequestQuote.jpd from scratch. Therefore, to proceed, you must delete the following files from your Tutorial_Process_ApplicationWeb project:

To Begin the Design of Your Request for Quote Business Process

In this step you start the process of recreating the RequestQuote.jpd business process in the requestquote folder.

  1. In the Application pane, under the Tutorial_Process_ApplicationWeb\requestquote folder, right-click the requestquote folder to display a drop-down menu.
  2. Choose New —> Process File. The New File dialog box is displayed.
  3. In the left pane, select Processes, then select Process File in the right pane.
  4. image

  5. In the File name field, enter RequestQuote.jpd.
  6. Note: As indicated by the file extension in the New File dialog box, you create a new JPD (Process Definition for Java) file when you create a process file. A JPD file is a JAVA file; it contains code for a Java class. Specifically, it contains the implementation code for a business process class.

  7. Click Create.
  8. The new RequestQuote.jpd file is created and displayed in the Design View (which for the moment consists only of a Start and a Finish node).

    image

Related Topics

Components of Your Application

Previous Document Next Document