geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Gallimore <>
Subject Re: How to get a meta-data complete ejb-jar.xml from an EJB jar?
Date Wed, 05 Dec 2007 23:18:03 GMT

I don't know if this is any help, but I'm currently working on some code 
to generate annotations based on a JAXB tree generated from an 
ejb-jar.xml. As I understand it, OpenEJB does all its annotation 
scraping and processing in org.apache.openejb.config.AnnotationDeployer 

- I'm effectively doing the reverse of what this class does to generate 
the annotations :-)

Hope that helps - apologies if its not what you're after.


Shiva Kumar H R wrote:
> I am currently working on an Admin Console wizard to auto-generate
> openejb-jar.xml and one
> problem where I am currently stuck is "given an EJB jar how do I get it's
> meta-data complete ejb-jar.xml?"
> I have some code in "Plan Creator" portlet of Admin Console which can
> process a web-app and provide it's meta-data complete web.xml.
> shows this
> code and how it was developed. This code is however insufficient for
> discovering EJB annotations. Tim told on irc
> that for EJBs a
> lot of the annotation processing is done in openejb side -- not geronimo.
> Any further hints/help?

View raw message