Abstract. This paper focuses on an XML-based framework for the description of grid environments and complex grid applications. A so-called Grid Job Handler is used to manage these applications. The GJobDL as part of this framework employs the Petri net concept to define both the workflow and the dataflow of the grid applications. The Grid Job Handler uses these XML representations to control grid applications via the Java Commodity Grid Kit, which interfaces to Globus.