Show TOC Start of Content Area

Function documentation Job Definition  Locate the document in its SAP Library structure

Use

Use a job definition to provide a blueprint representation of the job that you want to schedule in the system. In the job definition:

      You implement the business logic that you want an instance of this job definition to perform in the system.

      You provide the metadata for the job definition instances, such as which parameters they take or output, how long the job logs remain in the database, and so on.

Integration

As runtime objects, jobs are created from a job definition, and inherit their business logic from the job definition they instantiate.

Features

Job definitions are implemented after the implementation model of message-driven beans. A message-driven bean containing a job is called a JobBean.

The execution of JobBeans is handled by the EJB container, and a JobBean is executed when it receives a Java Messaging Service (JMS) message from the scheduler runtime service. The NetWeaver Scheduler for Java uses a JMS queue for point-to-point messaging, which allows jobs to be executed asynchronously.

A job definition comprises:

      The JobBean class

      The job definition deployment descriptors.

End of Content Area