Home
/
Middleware
/
Oracle Enterprise Scheduler
1/31
Contents
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
What's New in This Guide
1
Introduction to Oracle Enterprise Scheduler
1.1
About Oracle Enterprise Scheduler
1.2
Oracle Enterprise Scheduler Overview for Application Developers
1.2.1
Introduction to Working with Oracle Enterprise Scheduler at Design-Time
1.2.2
Introduction to Working with Oracle Enterprise Scheduler at Runtime
1.2.3
Oracle Enterprise Scheduler Job Requests
1.2.4
Overview of Integration Steps
1.3
Fixed-Rate Scheduling with Oracle Enterprise Scheduler
2
Planning Job Development
2.1
Job Development Flow
2.2
The Hosting Application
2.3
The Client Application
2.4
Create the Job Implementation
2.5
Create Job Metadata
2.5.1
Automatic Metadata Refresh Post-Submission
3
Installing and Verifying the Oracle Enterprise Scheduler Installation
3.1
Installing Oracle Enterprise Scheduler
3.1.1
Targeting Oracle Enterprise Scheduler During Domain Creation
3.1.2
OWSM-PM Targeting With Oracle Enterprise Scheduler
3.2
Introduction to Verifying the Oracle Enterprise Scheduler Installation
3.3
How to Verify the Oracle Enterprise Scheduler Installation Using a Browser
3.4
How to Programmatically Verify the Oracle Enterprise Scheduler Installation
3.5
What Happens at Runtime: How the Oracle Enterprise Scheduler Installation is Verified
4
Using the Pre-Deployed Native Hosting Application
4.1
Introduction
4.2
Properties
4.3
Metadata
4.4
Security Permissions
4.4.1
Configuring the Policy Stripe
4.4.2
Support for Multiple Application Stripes
5
Using Ant to Generate a Hosting Application
5.1
Introduction to Generating a Hosting Application with Ant
5.1.1
Prerequisites for Using the Ant Build Files
5.2
Ant Targets for Creating and Deploying a Hosting Application
5.3
Creating a Hosting Application and Project Workspace with Ant
5.4
Creating a Java Job as a Shared Library with Ant
5.5
Packaging a Java Job as a Shared Library with Ant
5.6
Deploying a Shared Library with Ant
5.7
Packaging a Hosting Application with Ant
5.8
Deploying a Hosting Application with Ant
5.9
Configuring the Generated Ant Targets
6
Creating a Thin Client Application
6.1
Introduction
6.2
Implementation
6.2.1
Secured Invocation
6.2.2
RemoteConnector API and the Server Affinity Property
6.2.3
Examples
6.3
Using JDeveloper to Build a Thin Client Application for MAR Deployment
6.3.1
Create and Deploy a Thin Client Application for the Standalone Environment
6.4
Using JDeveloper to Create and Configure an EJB and its Job Definition Metadata
7
Using Oracle JDeveloper to Generate an Oracle Enterprise Scheduler Application
7.1
How to Start JDeveloper to Support Building Oracle Enterprise Scheduler Applications
7.2
Understanding Oracle Enterprise Scheduler Application Support Created by Oracle JDeveloper
7.3
Building a Combined Oracle Enterprise Scheduler Application
7.3.1
Creating the Application and Projects for EssDemoApp Application
7.3.2
Creating Metadata and an Implementation Class for the EssDemoApp Application
7.3.3
Adding Application Code to Submit Job Requests
7.3.4
Setting Oracle Enterprise Scheduler Properties
7.3.5
Assembling the EssDemoApp Application
7.3.6
Deploying and Running the EssDemoApp Application
7.4
Building Split Submitting and Hosting Applications
7.4.1
How to Create the Back-End Hosting Application for EssDemoApp
7.4.2
How to Create the Front-End Submitter Application for Oracle Enterprise Scheduler
8
Using the Metadata Service
8.1
Introduction to Using the Metadata Service
8.1.1
Introduction to Metadata Service Name Spaces
8.1.2
Introduction to Metadata Service Operations
8.1.3
Introduction to Metadata Service Transactions
8.2
Accessing the Metadata Service
8.2.1
How to Access the Metadata Service with a Stateless Session EJB
8.3
Accessing the Metadata Service with Oracle JDeveloper
8.4
Querying Metadata Using the Metadata Service
8.4.1
How to Create a Filter
8.4.2
How to Query Metadata Objects
9
Using Parameters and System Properties
9.1
Introduction to Using Parameters and System Properties
9.1.1
What You Need to Know About Application Defined Property and System Property Naming
9.1.2
What You Need to Know About Parameter Conflict Resolution and Parameter Materialization
9.2
Using Parameters with the Metadata Service
9.2.1
How to Use Parameters and System Properties in Metadata Objects
9.3
Using Parameters with the Runtime Service
9.3.1
How to Use Parameters with the Runtime Service
9.3.2
How to Use Parameters with a Step ID for Job Set Steps
9.4
Using System Properties
10
Using Tokens and Logical Clusters
10.1
Using Token Substitution
10.1.1
Nested Substitutions
10.1.2
Automatic Substitution
10.2
Using Logical Clusters
11
Creating and Using PL/SQL Jobs
11.1
Introduction to Using PL/SQL Stored Procedure Job Definitions
11.2
Creating a PL/SQL Stored Procedure for Oracle Enterprise Scheduler
11.2.1
How to Define a PL/SQL Stored Procedure with the Correct Signature
11.2.2
Handling Runtime Exceptions in an Oracle Enterprise Scheduler PL/SQL Stored Procedure
11.2.3
How to Access Job Request Information In PL/SQL Stored Procedures
11.2.4
What You Need to Know When You Define a PL/SQL Stored Procedure
11.3
Performing Oracle Database Tasks for PL/SQL Stored Procedures
11.3.1
How to Grant PL/SQL Stored Procedure Permissions
11.3.2
What You Need to Know About Granting PL/SQL Stored Procedure Permissions
11.4
Creating and Storing Job Definitions for PL/SQL Job Types
11.4.1
How to Create a PL/SQL Job Type
11.4.2
How to Create and Store a Job Definition for PL/SQL Job Type
11.4.3
Using a PL/SQL Stored Procedure with an Oracle Enterprise Scheduler Application
12
Creating and Using EJB Jobs
12.1
Introduction to Creating EJB Jobs
12.2
Planning Job Development
12.3
Creating and Storing Job Definitions for EJB Job Types
12.4
Secured Invocation
12.4.1
Forward Invocation
12.4.2
Callback Invocation
12.4.3
RemoteConnector API and the Server Affinity Property
12.4.4
CSF Lookup From a Remote Server
12.5
Synchronous Bean
12.5.1
Metadata
12.5.2
EJB Job Sample Code
12.6
Asynchronous Bean
12.6.1
Metadata
12.6.2
EJB Job Sample Code
13
Creating and Using Web Service Jobs
13.1
Introduction
13.2
Predefined Web Service Job Types
13.3
Cancel and Fault Support
13.4
Configuration Properties for Web Service Jobs
13.5
Oracle Web Services Manager Policy Configuration
13.6
Creating a Web Service Job Definition
13.6.1
Using Oracle JDeveloper to Create a Job Definition
13.6.2
Using Oracle Enterprise Manager Fusion Middleware Control to Create a Job Definition
14
Creating and Using Process Jobs
14.1
Introduction to Creating Process Job Definitions
14.2
Creating and Storing Job Definitions for Process Job Types
14.2.1
How to Create and Store a Process Job Type
14.2.2
How to Create and Store a Process Type Job Definition
14.3
Using an Agent Handler for Process Jobs
14.3.1
Choosing an Agent Handler
14.4
Process Job Locale
15
Defining and Using Schedules
15.1
Introduction to Schedules
15.2
Defining a Recurrence
15.2.1
How to Define a Recurrence with a Recurrence Fields Helper
15.2.2
How to Define a Recurrence with an iCalendar RFC 2445 Specification
15.2.3
What You Need to Know When You Use a Recurrence Fields Helper
15.2.4
What You Need to Know When You Use an iCalendar Expression
15.3
Defining an Explicit Date
15.3.1
How to Define an Explicit Date
15.3.2
What You Need to Know About Explicit Dates
15.4
Defining and Storing Exclusions
15.4.1
How to Define an Exclusion
15.4.2
How to Create an Exclusions Definition
15.5
Defining and Storing Schedules
15.5.1
How to Define and Store a Schedule
15.5.2
What Happens When You Define and Store a Schedule
15.5.3
What You Need to Know About Handling Time Zones with Schedules
15.6
Identifying Job Requests That Use a Particular Schedule
15.7
Updating and Deleting Schedules
16
Using the Oracle Enterprise Scheduler Web Service
16.1
Introduction to the Oracle Enterprise Scheduler Web Service
16.2
Developing and Using ESSWebservice Applications
16.2.1
How to Develop and Use an ESSWebservice Java EE Application
16.2.2
How to Develop and Use an ESSWebservice SOA Application with BPEL
16.2.3
Setting Web Service Addressing Headers for getCompletionStatus() Operation
16.2.4
Restrictions When Using ESSWebservice
16.2.5
ESSWebservice Implementation
16.3
ESSWebservice WSDL File
16.4
Use Case: Using Oracle Enterprise Scheduler ESSWebservice from a BPEL Process
17
Defining and Using Job Sets
17.1
Introduction to Defining and Using Job Sets
17.2
Defining Job Sets
17.2.1
How to Define a Job Set
17.2.2
How to Define Serial Job Set Steps
17.2.3
How to Define Parallel Job Set Steps
17.2.4
What Happens When You Define a Job Set
17.2.5
What You Need to Know About Serial Job Sets
17.2.6
What You Need to Know About Job Set Application Defined Properties and System Properties
17.2.7
What Happens at Runtime for Job Set State Priorities and State Transitions
17.3
Cross Application Job Sets
17.3.1
Overview of Cross Application Job Sets
17.3.2
Requirements for Cross Application Job Sets
17.4
Supporting Input and Output Forwarding in Job Sets
18
Defining and Using a Job Incompatibility
18.1
Introduction to Using a Job Incompatibility
18.1.1
Job Self Incompatibility
18.2
Defining Incompatibility with Oracle JDeveloper
18.2.1
How to Define a Global Incompatibility
18.2.2
How to Define a Domain Incompatibility
18.3
What Happens at Runtime to Handle Job Incompatibility
18.3.1
What Happens to Subrequests with an Incompatible Parent Request
19
Using the Runtime Service
19.1
Introduction to the Runtime Service
19.2
Accessing the Runtime Service
19.2.1
How to Access the Runtime Service and Obtain a Runtime Service Handle
19.3
Submitting Job Requests
19.3.1
How to Submit a Request to the Runtime Service
19.3.2
What You Should Know About Default System Properties When You Submit a Request
19.3.3
What You Should Know About Metadata When You Submit a Request
19.3.4
DMS ECID and FlowId Support
19.4
Managing Job Requests
19.4.1
How to Get Job Request Information with getRequestDetail
19.4.2
How to Change Job Request State
19.4.3
How to Update Job Request Priority and Job Request Parameters
19.5
Querying Job Requests
19.6
Submitting Ad Hoc Job Requests
19.6.1
How to Create an Ad Hoc Request
19.6.2
What Happens When You Create an Ad Hoc Request
19.6.3
What You Need to Know About Ad Hoc Requests
19.7
Implementing Pre-Process and Post-Process Handlers
19.7.1
Implementing a Pre-Process Handler
19.7.2
Implementing a Post-Process Handler
20
Using Subrequests
20.1
Introduction to Using Subrequests
20.2
Creating and Managing Subrequests
20.2.1
How to Submit Subrequests
20.2.2
How to Cancel Subrequests
20.2.3
How to Hold Subrequests
20.2.4
How to Submit Multiple Subrequests
20.2.5
How to Manage Paused Subrequests
20.2.6
How Subrequests Are Processed
20.2.7
How to Identify Subrequests
20.2.8
How to Manage Subrequests and Incompatibility
20.3
Creating a Java Procedure that Submits a Subrequest
20.4
Creating a PL/SQL Procedure that Submits a Subrequest
21
Working with Asynchronous Java Jobs
21.1
Introduction to Working with Asynchronous Java Jobs
21.2
Creating an Asynchronous Java Job
21.2.1
Implementing the Asynchronous Java Job Asynchronous Interface
21.2.2
Asynchronous Java Job execute() Method
21.2.3
Invoking a Remote Job from an Asynchronous Java Job
21.2.4
Calling Back to Oracle Enterprise Scheduler with Status Updates
21.2.5
Updating the Asynchronous Java Job
21.2.6
Notifying Oracle Enterprise Scheduler When an Asynchronous Job Completes
21.2.7
Asynchronous Java Job AsyncCancellable Interface
21.2.8
Sample Asynchronous Java Job Invoking a BPEL Process Through Event Delivery Network
21.3
A Use Case Illustrating the Implementation of a BPEL Process as an Asynchronous Job
21.3.1
Introduction to the Recommended Design Pattern
21.3.2
Potential Approaches
21.3.3
Use Case Summary
21.4
How to Implement BPEL with an Asynchronous Job
21.4.1
Use Case: Add Oracle JDeveloper Libraries
21.4.2
Use Case: Create the Asynchronous Job Definition
21.4.3
Use Case: Design the Event Payload Schema and Event Definition Files
21.4.4
Programmatically Raise a Business Event from the Asynchronous Job Methods
21.4.5
Design the SOA Composite with Meditator and BPEL
21.4.6
Add Fault Handling and Correlated onMessage Branch for Error and Cancel Job
21.4.7
Validating the Deployment
21.4.8
Troubleshooting the Use Case
21.5
Handling Time Outs and Recovery for Asynchronous Jobs
21.5.1
Asynchronous Request Time Outs
21.5.2
Handling Asynchronous Jobs Marked for Manual Recovery
21.5.3
Using RecoverRequest to Manually Recover a Job Request
21.6
Oracle Enterprise Scheduler Interfaces and Classes
22
Job Request Logs and Output
22.1
Request Logs
22.1.1
System Properties
22.1.2
Log Header
22.1.3
Request Logging from a Java Job
22.1.4
Request Logging from a PL/SQL Job
22.1.5
Request Logging from a Process Job
22.1.6
Request Logging and Output From an EJB Job
22.1.7
Request Logging from a Web Service Job
22.1.8
APIs for Handling Request Logs
22.2
Request Output
22.2.1
Using the Request File Directory
22.2.2
System Properties
22.2.3
Creating Request Output from a Java Job
22.2.4
Creating Request Output from a PL/SQL Job
22.2.5
Creating Request Output from a Process Job
22.2.6
Creating Request Output from an EJB Job
22.2.7
Creating Request Output from a Web Service Job
22.2.8
APIs for Handling Request Output
23
Oracle Enterprise Scheduler Security
23.1
Introduction to Oracle Enterprise Scheduler Security
23.1.1
Oracle Enterprise Scheduler Metadata Access Control
23.1.2
Oracle Enterprise Scheduler Job Execution Security
23.2
Configuring Metadata Security for Oracle Enterprise Scheduler
23.2.1
How to Enable Application Security with Oracle ADF Security Wizard
23.2.2
Including Security Files in EAR File
23.2.3
How to Define Principals for Security
23.2.4
Creating Enterprise Role
23.2.5
How to Create Grants with Oracle Enterprise Scheduler Metadata Pages
23.2.6
About MetadataPermission APIs
23.2.7
What Happens When You Configure Metadata Security
23.3
Configuring Data Security for Oracle Enterprise Scheduler
23.3.1
How to Change Data Security Permissions
23.3.2
Examples
23.4
Configuring Web Service Security for Oracle Enterprise Scheduler
23.5
Configuring PL/SQL Job Security for Oracle Enterprise Scheduler
23.6
Elevating Privileges for Oracle Enterprise Scheduler Jobs
23.7
Configuring a Single Policy Stripe in Oracle Enterprise Scheduler
23.7.1
How to Configure a Single Policy Stripe in Oracle Enterprise Scheduler
23.7.2
What Happens When You Configure a Single Policy Stripe
23.7.3
What Happens at Runtime
Scripting on this page enhances content navigation, but does not change the content in any way.