Batch overview
The Java™ Platform, Enterprise Edition (Java EE) applications that are typically hosted by the product perform short, lightweight, transactional units of work. In most cases, an individual request can be completed with seconds of processor time and relatively little memory. Many applications, however, must complete batch work that is computational and resource intensive.
The 批处理 function extends the application server to accommodate applications that must perform 批处理工作 alongside transactional applications, as shown in the following graphic. 批处理工作 might take hours or even days to finish and uses large amounts of memory or processing power while it runs.
批处理 support includes a web-based application for managing jobs, called the job management console. Through this console, you can submit jobs, monitor job execution, perform operational actions against jobs, and view job logs.
Jobs express units of 批处理工作. A job describes the work, identifies the application to perform the work, and can include additional information to help the product handle the work effectively and efficiently. Jobs are specified in an XML dialect called xJCL and can be submitted programmatically or through a command-line interface. As part of a job submission, the job is persisted in an external database and given to the 作业调度程序. The 作业调度程序 distributes waiting jobs to available 网格端点 to run.