In this step, you will set up the Worklist design-time environment for building the loan processing approval task plan and a new Worklist application.To set up the environment, you will create a new domain, users, and groups for the Acme Financial System.
To complete the tasks in this step, go through the following sections:
Before you begin this tutorial, ensure that you have WebLogic Platform version 9.2 with WebLogic Integration 9.2 installed on your system and define a workspace. Perform the following to start the BEA Workshop for WebLogic Platform™ IDE (Integrated Development Environment).
From the Start menu, click All ProgramsBEA ProductsWorkshop for WebLogic Platform to start the BEA Workshop for WebLogic Platform IDE. This will display the Workspace Launcher dialog box.
For the purpose of this tutorial, create a workspace called worklist in the BEA_HOME\user_projects\w4WP_workspaces\ directory. Where BEA_HOME is the location where you installed WebLogic Platform 9.2 (see Figure 2-1).
Figure 2-1 Setting the Workspace
Create a Worklist Domain
The Worklist domain is created using the Configuration Wizard. To create the Worklist domain:
From the Start menu, click All ProgramsBEA ProductsToolsConfiguration Wizard to start the BEA WebLogic Configuration Wizard.This displays the Welcome page in the BEA WebLogic Configuration Wizard dialog box (see Figure 2-2).
Figure 2-2 Configuration Wizard Welcome Page
Select Create a new WebLogic domain and click Next. This displays the Select Domain Source page in the Configuration Wizard dialog box.
As you proceed through the Configuration Wizard, several pages will appear in a sequence. You need to specify your settings on each page and click Next to proceed to the subsequent page.Table 2-1 lists the pages and the options that you need to select to create the domain successfully.
Table 2-1
Page in the Configuration Wizard Dialog Box
Recommendation Action
Select a Domain Source
Select Generate a domain configured automatically to support the following BEA Products option for the following BEA Products:
WebLogic Server (Required)
Workshop for WebLogic Platform
WebLogic Integration
Click Next to proceed.
Configure Administrator Username and Password
Specify the following mandatory credentials:
User name = weblogic
User password = weblogic
Confirm user password = weblogic
Click Next to proceed.
Configure Server Start Node and JDK
Select Development Mode in the WebLogic Domain Startup Mode column.
Select Sun SDK 1.5.0_04 @ C:\bea\jdk150_04 in the BEA Supplied JDKs column.
Click Next to proceed.
Customize Environment and Service Settings
Click No, to retain the settings defined in the domain source and proceed directly to creating your domain.
Click Next to proceed.
Configuring the Domain Using the Configuration Wizard
On the Create WebLogic Domain page, specify the following values for each field and click Create (see Figure 2-3):
After the domain is created successfully, the Creating Domain page is displayed (see Figure 2-4).
Figure 2-4 Creating Domain Page
Select the Start Admin Server check box and click Done to proceed.
Set Up the Workshop for WebLogic Platform Design-Time Environment
After you create the myworklist domain, you can set up the design-time environment for the loan processing task plan by performing the following steps:
Click FileNewServer. The New Server dialog box appears (see Figure 2-5).
Figure 2-5 New Server Dialog Box
In the New Server dialog box, accept the default settings and click Next.
Browse and select the myworklist domain, which you created using the Configuration Wizard. It is located at C:\bea\user_projects\domains\myworklist (see Figure 2-6).
Figure 2-6 Specify the domain name for the New Server
Click Finish.
This completes the creation of a new server on which, the Worklist application will be deployed.
Create a New Worklist Application
A Worklist application consists of an EAR and a Web project, which contain all the files and directories that relate to a executable and self-contained Worklist application on the server.
The EAR project corresponds to the Enterprise Application. It hosts the Worklist system instance and the loan processing task plan for Acme Financial System. You will build and deploy this project to create the task scenario described in the overview of this tutorial.
The Web project, an instance of the Worklist user portal that acts as the user interface for the Worklist system (hosted by the EAR project). The Web project is a part of the EAR project.
To create a new Worklist application:
In BEA Workshop for WebLogic Platform, click FileNewProject.
The New Project dialog box appears.
Select the WebLogic IntegrationWorklist Applicationin the New Project dialog box (see Figure 2-7).
Figure 2-7 New Project Dialog Box
Click Next. The New Worklist Application dialog box appears.
Select the Process Host option from the Choose Worklist Application Type section, this will allow to use Worklist and Business Process Management together in the same application.
Specify the EAR Project Name as Loan_EAR in the EAR Project Name box.
Specify the Web Project Name as Loan_Web in the Web Project Name box.
Select the Create Utility Project check box and specify the Utility Project Name as LoanUtil. This project will contain all the WebLogic Integration schemas.
Select the Add WebLogic Integration System and Control schemas in utility project check box (see Figure 2-8).
Figure 2-8 New Worklist Application Dialog Box
Click Finish and the Open Associated Perspective? dialog box is displayed.
In the displayed Open Associated Perspective? dialog box, select the Remember my decision check box and click Yes. In doing so, you associate the project with the Task Planperspective (see Figure 2-9).
Figure 2-9 Open Associated Perspective? Confirmation Box
You can see the Task Plan icon on the top right corner of the BEA Workshop for WebLogic Platform window.
Configure Users and Groups for Loan Processing
For Acme Financial System, the users and groups listed in Table 2-2 need to be created. To do this, you need to start the server created in the previous section if it is not started already. Perform the following to start the server afresh.
Select the server in the Servers pane (see Figure 2-10).
Figure 2-10 Starting the Server
Right click and select the Start option.
Table 2-2 Users and Groups for Loan Processing
Users
Groups
John
loanOfficer
Joe
loanOfficer
Mary
loanManager
Mark
loanManager
Create Groups for the Loan Processing Task
Perform the following steps to create Group.
Open the Worklist Console using RunWeblogic IntegrationWorklist Console menu in the BEA Workshop for WebLogic Platform or alternatively open a Web browser, such as Internet Explorer, and enter the Worklist console URL:
http://host:port/worklistconsole
Use the following credentials to log in to the WebLogic Integration Worklist console with administrator rights:
User name: weblogic
Password: weblogic
Click Worklist Users from the left panel.
Click Groups from the Worklist Users section in the left panel.
Click Add Group to open the Add New Group page (see Figure 2-11).
Specify the following details for the new group:
Group name: loanOfficer
Authentication Provider: SQLAuthenticator
Figure 2-11 Add New Group Page
Click Save.
Click Add Group to create another group.
Specify the following details for the new group:
Group name: loanManager
Authentication Provider: SQLAuthenticator
Click Save.
After you create the groups, you need to create the users and assign the users to these groups.
Create Users and Assign to Groups
Click Worklist Users from the left panel.
Click Add User. This opens the Add New User - General Configuration page.
Specify the following details:
Name: John
Provider: SQLAuthenticator
Password: password
Note:
The password must be of at least 8 characters.
Move loanOfficer from the list of Available Groups to the list of Current Groups (see Figure 2-12).
Figure 2-12 Add New User- General Configuration
Click Save.
This displays the Summary of Users page, which lists John as a user.