Listing C
<j:jelly
xmlns:j="jelly:core"
xmlns:define="jelly:define"
xmlns:my="myTagLib">

  <define:taglib uri="myTagLib">
    <define:jellybean name="foo" className="MyTask"/>
    <define:jellybean method="doIt"/>
  </define:taglib>

  <!--Now let’s use the new tag -->
  <my:foo x="2" y="cheese"/>

</j:jelly>