5-4 Oracle Complex Event Processing Visualizer Users Guide
Figure 5–3 The Install Application Screen: Multi-Server Domain
7. Configure the Select Target Group to Deploy field.
The group name appears in the Target Group to Deploy field. To unselect this selection, click the Clear Group button.
8. Select your application in the table and click Deploy.
The Review Deployment Information screen is displayed, as shown in Figure 5–4
.
Figure 5–4 The Review Deployment Information Screen: Multi-Server Domain
9. Click OK.
Managing Application Lifecycle 5-5
Oracle CEP Visualizer deploys your application to all servers in the selected target group as
Figure 5–5 shows.
Figure 5–5 HelloWorld Application Deployed to All the Servers in Group testgroup
5.2 Suspending or Resuming an Application
You can temporarily suspend an application from running and resume the operation using the Suspend and Resume operations in the Deployment screen.
5.2.1 How to Suspend or Resume an Application
You can suspend or resume an application using the Oracle CEP Visualizer.
To suspend or resume an application: 1.
In the left pane, navigate to Deployment node. The Deployed Applications table is displayed in the Deployment screen on the right pane.
2.
Select the application you want to suspend or resume by checking the box to the left of its name.
3. Click Suspend to suspend the application or Resume to resume a suspended
application.
5.3 Updating an Application
You can update your currently existing application with your latest application using the Update operation in the Deployment screen.
5-6 Oracle Complex Event Processing Visualizer Users Guide
When you update an application, the Oracle CEP server erases the application’s existing configuration history and starts a new configuration history for it. See
Section 3.4, Configuration History Management .
5.3.1 How to Update an Application
You can update an application using the Oracle CEP Visualizer.
To update an application: 1.
In the left pane, navigate to Deployment node. The Deployed Applications table is displayed in the Deployment screen on the right pane.
2. Select the application you want to update by checking the box to the left of its
name.
3. Click Update. The Update application screen is displayed.
4. Click the Upload tab.
5. Click on the ... button to invoke a file browsing window, browse to the directory
that contains the JAR file of application, and click Open. 6.
Click Upload. In the Update Application tab, the JAR file appears in the table of uploaded files.
7. Select your application in the table and click OK.
The existing application is updated with the latest application.
5.4 Uninstalling an Application
When you uninstall an application, you completely remove it from the server so that you can no longer access it.
When you uninstall an application, the Oracle CEP server erases the application’s existing configuration history. See
Section 3.4, Configuration History Management .
5.4.1 How to Uninstall an Application
You can uninstall an application using the Oracle CEP Visualizer.
To uninstall an application: 1.
In the left pane, navigate to Deployment node. The Deployed Applications table is displayed in the Deployment screen on the right pane.
2.
Select the application you want to uninstall by checking the box to the left of its name.
3. Click Uninstall.
You have undeployed the application successfully.
6
Managing Oracle CQL Rules 6-1
6
Managing Oracle CQL Rules
This section contains the typical application tasks you can perform with Oracle CEP Visualizer to manage Oracle CQL rules, including:
■
Section 6.1, Using the Query Wizard
■
Section 6.2, Using the Query Plan For more information, see:
■
Section 3.3, Rules Management
■
Oracle Complex Event Processing CQL Language Reference
■
Oracle Continuous Query Language CQL Example in the Oracle Complex Event Processing Getting Started
6.1 Using the Query Wizard
Using the Oracle CEP Visualizer, you can manage the Oracle CQL rules in the Oracle CQL processors of an Oracle CEP application.
This section describes the following topics:
■
Section 6.1.1, How to Create a Rule in an Oracle CQL Processor Using the Query Wizard
■
Section 6.1.2, How to Edit a Rule in an Oracle CQL Processor Using the Query Wizard
■ ■
Section 6.1.4, How to Edit a Parameterized Query in an Oracle CQL Processor
■
Section 6.1.6, How to Delete a Rule in an Oracle CQL Processor
■
Section 6.1.7, How to Replace a Rule in an Oracle CQL Processor
■
Section 6.1.8, How to View a Rule in an Oracle CQL Processor
■
Section 6.1.9, How to Configure Query Wizard Oracle CQL Constructs
■
Section 6.1.10, How to Create an Oracle CQL Template for the Query Wizard
6.1.1 How to Create a Rule in an Oracle CQL Processor Using the Query Wizard
Oracle CEP Visualizer provides a sophisticated Query Wizard to simplify Oracle CQL view and query construction. You can drag and drop Oracle CQL elements to
construct a view or query or you can drag and drop a complete Oracle CQL view or query template and customize it to suit your needs. The Oracle CQL Query Wizard is