Apache Jelly

Apache Jelly
Developer(s) Apache Software Foundation
Development status Active
Written in Java
Operating system Cross-platform
License Apache License 2.0
Website http://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

  1. http://commons.apache.org/jelly/
  2. http://commons.apache.org/jelly/overview.html
  3. https://support.ca.com/cadocs/1/m000471e.pdf Clarity Integration Guide 8.1

External links

This article is issued from Wikipedia - version of the 10/29/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.