Go to main content
1/31
Contents
List of Tables
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Introduction to Oracle Enterprise Scheduler
Differences Between Using this Component in the Cloud and On-Premises Environments
About Oracle Enterprise Scheduler
Oracle Enterprise Scheduler Overview for Application Developers
Introduction to Working with Oracle Enterprise Scheduler at Design-Time
Introduction to Working with Oracle Enterprise Scheduler at Runtime
Oracle Enterprise Scheduler Job Requests
Overview of Integration Steps
Fixed-Rate Scheduling with Oracle Enterprise Scheduler
2
Planning Job Development
Job Development Flow
The Hosting Application
The Client Application
Create the Job Implementation
Create Job Metadata
Automatic Metadata Refresh Post-Submission
3
Installing and Verifying the Oracle Enterprise Scheduler Installation
Installing Oracle Enterprise Scheduler
Targeting Oracle Enterprise Scheduler During Domain Creation
OWSM-PM Targeting With Oracle Enterprise Scheduler
Targeting OWSM-PM Manually
Introduction to Verifying the Oracle Enterprise Scheduler Installation
How to Verify the Oracle Enterprise Scheduler Installation Using a Browser
How to Programmatically Verify the Oracle Enterprise Scheduler Installation
What Happens at Runtime: How the Oracle Enterprise Scheduler Installation is Verified
4
Using the Pre-Deployed Native Hosting Application
Introduction
Properties
Metadata
Security Permissions
Configuring the Policy Stripe
Support for Multiple Application Stripes
5
Using Ant to Generate a Hosting Application
Introduction to Generating a Hosting Application with Ant
Prerequisites for Using the Ant Build Files
Ant Targets for Creating and Deploying a Hosting Application
Creating a Hosting Application and Project Workspace with Ant
Creating a Java Job as a Shared Library with Ant
Packaging a Java Job as a Shared Library with Ant
Deploying a Shared Library with Ant
Packaging a Hosting Application with Ant
Deploying a Hosting Application with Ant
Configuring the Generated Ant Targets
6
Creating a Thin Client Application
Introduction
Implementation
Secured Invocation
Forward Invocation
Callback Invocation
RemoteConnector API and the Server Affinity Property
Examples
Java EE Application That Uses RemoteConnector
Implementation
Subject Propagation
Using JDeveloper to Build a Thin Client Application for MAR Deployment
Create and Deploy a Thin Client Application for the Standalone Environment
Using JDeveloper to Create and Configure an EJB and its Job Definition Metadata
7
Using Oracle JDeveloper to Generate an Oracle Enterprise Scheduler Application
How to Start JDeveloper to Support Building Oracle Enterprise Scheduler Applications
Understanding Oracle Enterprise Scheduler Application Support Created by Oracle JDeveloper
Building a Combined Oracle Enterprise Scheduler Application
Creating the Application and Projects for EssDemoApp Application
How to Create the EssDemoApp Application and Host Project
How to Create the Client Project
Creating Metadata and an Implementation Class for the EssDemoApp Application
How to Create Metadata for the EssDemoApp Application
Adding Application Code to Submit Job Requests
How to Add Application Code to Submit Job Requests
Setting Oracle Enterprise Scheduler Properties
How to Set Oracle Enterprise Scheduler Properties for the Application
Assembling the EssDemoApp Application
How to Create the EJB-JAR Deployment Profile for the EssDemoApp
How To Update the WAR Archive Options
Create the Application MAR File
How to Update the EAR Options
Configure Security for the Application
Add Resource Grants for ESS Application Role in the Job Definition
Configure the weblogic-application.xml File
Update the EssHost MANIFEST File
Change the Realm Field
Edit the adf-config.xml File for the EssDemoApp Application
Deploying and Running the EssDemoApp Application
How to Deploy the EssDemoApp Application
How to Run the EssDemoApp Sample Application
How to Purge Jobs in the EssDemoApp Sample Application
Building Split Submitting and Hosting Applications
How to Create the Back-End Hosting Application for EssDemoApp
Creating the Back-End Hosting Application
Configuring Security for the Back-End Hosting Application
Defining Metadata for the Back-End Hosting Application
Creating a Java Implementation Class in the Back-End Hosting Application
Setting Oracle Enterprise Scheduler Properties
Assembling the Back-End Hosting Application for Oracle Enterprise Scheduler
How to Assemble the EJB JAR File for the Back-End Hosting Application
How to Assemble the MAR and EAR Files for the Back-End Hosting Application
Update the SuperEss MANIFEST File
Configure the weblogic-application.xml File
Deploying the Back-End Hosting Application
Edit the adf-config.xml File for the EssDemoApp Application
How to Create the Front-End Submitter Application for Oracle Enterprise Scheduler
Creating the Front-End Submitter Application
Creating the SuperWeb Project
Configuring Security for the Front-End Submitter Application
Creating the HTTP Servlet for the Front-End Submitter Application
Editing the web.xml File for the Front-End Submitter Application
Editing the weblogic-application.xml file for the Front-End Submitter Application
Editing the adf-config file for the Front-End Submitter Application
Assembling the Front-End Submitter Application for Oracle Enterprise Scheduler
How to Assemble the EJB JAR File for the Front-End Submitter Application
How to Assemble the WAR File for the Front-End Submitter Application
How to Assemble the MAR and EAR Files for the Front-End Hosting Application
Add ADF Libraries
Set Oracle Enterprise Scheduler Properties for the Application
Configure the weblogic-application.xml File
Deploying the Front-End Submitter Application
Update the EssHost MANIFEST File
Running the Split Application
8
Using the Metadata Service
Introduction to Using the Metadata Service
Introduction to Metadata Service Name Spaces
Introduction to Metadata Service Operations
Introduction to Metadata Service Transactions
Accessing the Metadata Service
How to Access the Metadata Service with a Stateless Session EJB
Accessing the Metadata Service with Oracle JDeveloper
Querying Metadata Using the Metadata Service
How to Create a Filter
How to Query Metadata Objects
9
Using Parameters and System Properties
Introduction to Using Parameters and System Properties
What You Need to Know About Application Defined Property and System Property Naming
What You Need to Know About Parameter Conflict Resolution and Parameter Materialization
What You Need to Know About Job Definition Parameter Materialization
What You Need to Know About Job Set Level Parameter Materialization
Using Parameters with the Metadata Service
How to Use Parameters and System Properties in Metadata Objects
Using Parameters with the Runtime Service
How to Use Parameters with the Runtime Service
How to Use Parameters with a Step ID for Job Set Steps
Using System Properties
10
Using Tokens and Logical Clusters
Using Token Substitution
Nested Substitutions
Automatic Substitution
Using Logical Clusters
11
Creating and Using PL/SQL Jobs
Introduction to Using PL/SQL Stored Procedure Job Definitions
Creating a PL/SQL Stored Procedure for Oracle Enterprise Scheduler
How to Define a PL/SQL Stored Procedure with the Correct Signature
Handling Runtime Exceptions in an Oracle Enterprise Scheduler PL/SQL Stored Procedure
How to Access Job Request Information In PL/SQL Stored Procedures
What You Need to Know When You Define a PL/SQL Stored Procedure
Performing Oracle Database Tasks for PL/SQL Stored Procedures
How to Grant PL/SQL Stored Procedure Permissions
What You Need to Know About Granting PL/SQL Stored Procedure Permissions
Creating and Storing Job Definitions for PL/SQL Job Types
How to Create a PL/SQL Job Type
How to Create and Store a Job Definition for PL/SQL Job Type
Using a PL/SQL Stored Procedure with an Oracle Enterprise Scheduler Application
12
Creating and Using EJB Jobs
Introduction to Creating EJB Jobs
Planning Job Development
Creating and Storing Job Definitions for EJB Job Types
Secured Invocation
Forward Invocation
Callback Invocation
RemoteConnector API and the Server Affinity Property
CSF Lookup From a Remote Server
Synchronous Bean
Metadata
EJB Job Sample Code
Asynchronous Bean
Metadata
EJB Job Sample Code
Sample Implementation of Asynchrony Using a Message-Driven Bean
Sample Implementation of Asynchrony Using Annotations
13
Creating and Using Web Service Jobs
Introduction
Predefined Web Service Job Types
Cancel and Fault Support
Configuration Properties for Web Service Jobs
Oracle Web Services Manager Policy Configuration
Creating a Web Service Job Definition
Using Oracle JDeveloper to Create a Job Definition
Using Oracle Enterprise Manager Fusion Middleware Control to Create a Job Definition
14
Creating and Using Process Jobs
Introduction to Creating Process Job Definitions
Creating and Storing Job Definitions for Process Job Types
How to Create and Store a Process Job Type
How to Create and Store a Process Type Job Definition
Using an Agent Handler for Process Jobs
Choosing an Agent Handler
Process Job Locale
15
Defining and Using Schedules
Introduction to Schedules
Defining a Recurrence
How to Define a Recurrence with a Recurrence Fields Helper
How to Define a Recurrence with an iCalendar RFC 2445 Specification
What You Need to Know When You Use a Recurrence Fields Helper
What You Need to Know When You Use an iCalendar Expression
Defining an Explicit Date
How to Define an Explicit Date
What You Need to Know About Explicit Dates
Defining and Storing Exclusions
How to Define an Exclusion
How to Create an Exclusions Definition
Defining and Storing Schedules
How to Define and Store a Schedule
What Happens When You Define and Store a Schedule
What You Need to Know About Handling Time Zones with Schedules
Identifying Job Requests That Use a Particular Schedule
Updating and Deleting Schedules
16
Using the Oracle Enterprise Scheduler Web Service
Introduction to the Oracle Enterprise Scheduler Web Service
Developing and Using ESSWebservice Applications
How to Develop and Use an ESSWebservice Java EE Application
How to Develop and Use an ESSWebservice SOA Application with BPEL
Setting Web Service Addressing Headers for getCompletionStatus() Operation
Restrictions When Using ESSWebservice
ESSWebservice Implementation
ESSWebservice WSDL File
Use Case: Using Oracle Enterprise Scheduler ESSWebservice from a BPEL Process
17
Defining and Using Job Sets
Introduction to Defining and Using Job Sets
Defining Job Sets
How to Define a Job Set
How to Define Serial Job Set Steps
How to Define Parallel Job Set Steps
What Happens When You Define a Job Set
What You Need to Know About Serial Job Sets
What You Need to Know About Job Set Application Defined Properties and System Properties
What Happens at Runtime for Job Set State Priorities and State Transitions
Cross Application Job Sets
Overview of Cross Application Job Sets
Requirements for Cross Application Job Sets
Supporting Input and Output Forwarding in Job Sets
18
Defining and Using a Job Incompatibility
Introduction to Using a Job Incompatibility
Job Self Incompatibility
Defining Incompatibility with Oracle JDeveloper
How to Define a Global Incompatibility
How to Define a Domain Incompatibility
What Happens at Runtime to Handle Job Incompatibility
What Happens to Subrequests with an Incompatible Parent Request
19
Using the Runtime Service
Introduction to the Runtime Service
Accessing the Runtime Service
How to Access the Runtime Service and Obtain a Runtime Service Handle
Submitting Job Requests
How to Submit a Request to the Runtime Service
What You Should Know About Default System Properties When You Submit a Request
What You Should Know About Metadata When You Submit a Request
DMS ECID and FlowId Support
ECID and FlowID for Child Requests
DMS FlowId and SOA CorrelationFlowId
Managing Job Requests
How to Get Job Request Information with getRequestDetail
How to Change Job Request State
How to Update Job Request Priority and Job Request Parameters
Querying Job Requests
Submitting Ad Hoc Job Requests
How to Create an Ad Hoc Request
What Happens When You Create an Ad Hoc Request
What You Need to Know About Ad Hoc Requests
Implementing Pre-Process and Post-Process Handlers
Implementing a Pre-Process Handler
Implementing the PreProcessHandler Interface
Implementing a Post-Process Handler
Implementing the PostProcessHandler Interface
20
Using Subrequests
Introduction to Using Subrequests
Creating and Managing Subrequests
How to Submit Subrequests
How to Cancel Subrequests
How to Hold Subrequests
How to Submit Multiple Subrequests
How to Manage Paused Subrequests
Indicating Paused Status
Storing the Paused State for a Parent Request
How Subrequests Are Processed
How to Identify Subrequests
How to Manage Subrequests and Incompatibility
Creating a Java Procedure that Submits a Subrequest
Creating a PL/SQL Procedure that Submits a Subrequest
21
Working with Asynchronous Java Jobs
Introduction to Working with Asynchronous Java Jobs
Creating an Asynchronous Java Job
Implementing the Asynchronous Java Job Asynchronous Interface
Asynchronous Java Job execute() Method
Invoking a Remote Job from an Asynchronous Java Job
Calling Back to Oracle Enterprise Scheduler with Status Updates
Updating the Asynchronous Java Job
Notifying Oracle Enterprise Scheduler When an Asynchronous Job Completes
Using the Web Service to Notify When an Asynchronous Job Completes
Using EJB to Notify When an Asynchronous Job Completes
Asynchronous Java Job AsyncCancellable Interface
Sample Asynchronous Java Job Invoking a BPEL Process Through Event Delivery Network
Sample BPEL Process Design Time with Oracle Enterprise Scheduler
A Use Case Illustrating the Implementation of a BPEL Process as an Asynchronous Job
Introduction to the Recommended Design Pattern
Potential Approaches
Use Case Summary
How to Implement BPEL with an Asynchronous Job
Use Case: Add Oracle JDeveloper Libraries
Use Case: Create the Asynchronous Job Definition
Use Case: Design the Event Payload Schema and Event Definition Files
Programmatically Raise a Business Event from the Asynchronous Job Methods
Design the SOA Composite with Meditator and BPEL
Add Fault Handling and Correlated onMessage Branch for Error and Cancel Job
Create Correlation Set and Define Initiate Activity
Create the onMessage Branch with Use of Correlation Set
Create the Fault Branch
Populate the onMessage and Fault Branch
Validating the Deployment
Troubleshooting the Use Case
Handling Time Outs and Recovery for Asynchronous Jobs
Asynchronous Request Time Outs
Setting the Time Out Value
Discovering the Asynchronous Job Requests that Have Timed Out
Completing Asynchronous Requests without a Time Out
What Happens When an Asynchronous Job Request Times Out
Handling Asynchronous Jobs Marked for Manual Recovery
Using RecoverRequest to Manually Recover a Job Request
Oracle Enterprise Scheduler Interfaces and Classes
22
Job Request Logs and Output
Request Logs
System Properties
Log Header
Request Logging from a Java Job
APIs for Java Job Logging
Java Request Logging Example
Request Logging from a PL/SQL Job
ESS_JOB Package Support for Creating Logs
PL/SQL Request Logging Example
Request Logging from a Process Job
Request Logging and Output From an EJB Job
Request Logging from a Web Service Job
APIs for Handling Request Logs
Request Output
Using the Request File Directory
Common Request File Directory Behavior
Shared Request File Directory Behavior
Error Handling When a Shared Request File Directory is Used
Local Request File Directory Behavior
Error Handling When a Local Request File Directory is Used
System Properties
Creating Request Output from a Java Job
APIs for Handling Request Output from a Java Job
Java Request Output Examples
Creating Request Output from a PL/SQL Job
PL/SQL Package Support for Creating Output
PL/SQL Output Creation Examples
Creating Request Output from a Process Job
Creating Request Output from an EJB Job
Creating Request Output from a Web Service Job
APIs for Handling Request Output
23
Oracle Enterprise Scheduler Security
Introduction to Oracle Enterprise Scheduler Security
Oracle Enterprise Scheduler Metadata Access Control
Oracle Enterprise Scheduler Job Execution Security
Configuring Metadata Security for Oracle Enterprise Scheduler
How to Enable Application Security with Oracle ADF Security Wizard
Including Security Files in EAR File
How to Define Principals for Security
Creating Enterprise Role
How to Create Grants with Oracle Enterprise Scheduler Metadata Pages
About MetadataPermission APIs
What Happens When You Configure Metadata Security
Configuring Data Security for Oracle Enterprise Scheduler
How to Change Data Security Permissions
Conditions
Condition Examples
Actions
Examples
Configuring Web Service Security for Oracle Enterprise Scheduler
Configuring PL/SQL Job Security for Oracle Enterprise Scheduler
Elevating Privileges for Oracle Enterprise Scheduler Jobs
Configuring a Single Policy Stripe in Oracle Enterprise Scheduler
How to Configure a Single Policy Stripe in Oracle Enterprise Scheduler
What Happens When You Configure a Single Policy Stripe
What Happens at Runtime
Scripting on this page enhances content navigation, but does not change the content in any way.