Application Server for executing batch applications provides a batch service. A batch service is a function used for executing batch applications. The following figure shows the functions provided in the batch service:
Figure 2-8 Functions provided in the batch service
![[Figure]](figure/zu020800.gif)
- Batch application execution function
This function is provided for starting a batch application and for forced termination of a batch application.
- EJB access function
This function is provided for accessing EJB of J2EE server from the batch application. An EJB access function uses a J2EE service.
- Resource connection function
This function is provided for establishing a connection from a batch application to the database. The resource connection function uses the J2EE service and J2EE resources.
- Garbage collection control function
This function is provided for controlling the execution of a garbage collection when resources are in exclusion state in the batch application.
- Naming management function
This function is provided for setting a name when referencing EJB or resources. The naming management function uses a J2EE service.
- Batch application scheduling function
This function is provided for scheduling the execution of a batch application using CTM.
For details about the respective functionality provided by a batch service, see 2.3 Batch application execution functionality in the uCosminexus Application Server Expansion Guide.