JobServer is a powerful and highly scalable environment for scheduling, running and managing jobs and web applications. This document provides a quick overview on how to get started with JobServer.
For additional information on using JobServer refer to these links:
JobServer supports a powerful and flexable developer API called soafaces API. This SDK allows for building Java client and server components that can be run as backend Tasklets and front-end Weblets. JobServer functions as a soafaces container that supports the soafaces specification and API in order to run and Tasklets and Weblets.
To get you started learning about the soafaces SDK for Tasklets and Weblets, we will do two things:
A Job is composed of one or more Tasklets. Tasklets come packaged in JAR files called Bundles. JobServer comes with several example Tasklets. You can browse the available Tasklets/Bundles by going to the Tasklet/Weblet Component tool found in the JobServer Workbench.
To create a new job, go to the Job Designer and create a new job. In the job you can add one or more Tasklets (packaged as Bundles). After you choose a Tasklet to add, you can then go to the Job Scheduler tool and schedule a one time or reccuring schedule for this new job to run under.
To enable the job to be scheduled, you must make sure that the JobServer Scheduling Engine is up and running. No job can run unless the Scheduling Engine is running. To turn it on go to System Administration --> Start/Stop and startup the Scheduler. Now jobs can be scheduled based on their scheduling rule.
To view the historical run logs for a job or to just search for which jobs have run in the past or are running now, you can use the Job Tracker tool to search for just about anything you want with respected to running jobs. You can for example search for all jobs that have run in the past day that have thrown errors. JobServer captures all Log4J and Java Logging API messages logged by the Tasklet and makes it available for viewing from within Job Tracker. The soafaces SDK lets you optionally customize how to view any input or output used by a Tasklet and job.
An Application in JobServer is composed of a Weblet. The Weblet comes packaged in a Bundle component and is added to an Application to serve as the GUI implementation.
To create a new GUI application, go to the Application Builder and create a new application. There you can select which Weblet Bundle will serve as the implementation for your application.
Once you have created the application, you can access it from any browser using the following URI: