Wrap the existing JGenerator interface with an MBean.
Then it could be deployed as a JMX component within a
Java App Server such as JBoss. Further, it could be
bundled in a .sar archive which contains a jboss-
service.xml file containing the MBean configuration.
This feature would allow EJBs and other MBeans to
invoke methods on JGenerator within the same JVM and
allow JGenerator to be configured and managed just
like any other JMX component. Please feel free to
email me [ fbrier@multideck.com ] if you are
interested in this feature. I could try and write it
next month if no one else wants to take a swag at it.