Jump to content

Apache Jelly

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Thumperward (talk | contribs) at 21:36, 29 October 2015 (Added {{notability}} tag to article (TW)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Apache Jelly
Developer(s)Apache Software Foundation
Written inJava
Operating systemCross-platform
LicenseApache License 2.0
Websitehttp://commons.apache.org/jelly

Apache Jelly is a Java and XML based scripting and processing engine for turning XML into executable code.[1] Jelly is a component of Apache Commons.

Custom XML languages are commonly created to perform some kind of processing action. Jelly is intended to provide a simple XML based processing engine that can be extended to support various custom actions.[2]

Use by Clarity Software

Clarity PPM Software, a product of CA Technologies, uses Jelly and an additional custom tag library extensively in the implementation of its XML Open Gateway application architecture. The Clarity language is known as GEL (Generic Execution Language) and is a scripting language that is based on the Jelly libraries.

The following example shows how Clarity implements the classical "Hello World" application.[3]

<gel:script xmlns:j="jelly:core" xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary">
  <j:forEach indexVar="i" begin="1" end="3">
    <gel:out>Hello World ${i}!</gel:out>
  </j:forEach>
</gel:script>

References