Thanks for the hints Jon. On Dec 6, 2007 4:48 AM, Jonathan Gallimore <[EMAIL PROTECTED]> wrote:
> Shiva, > > 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 ( > https://svn.apache.org/repos/asf/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java) > - 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. > > Jon > > > Shiva Kumar H R wrote: > > I am currently working on an Admin Console wizard to > auto-generateopenejb-jar.xml > http://issues.apache.org/jira/browse/GERONIMO-3432 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.http://www.mail-archive.com/dev@geronimo.apache.org/msg47965.html > shows this > code and how it was developed. This code is however insufficient for > discovering EJB annotations. Tim told on > irchttp://servlet.uwyn.com/drone/log/bevinbot/geronimo/20071205 that for EJBs > a > lot of the annotation processing is done in openejb side -- not geronimo. > > Any further hints/help? > > > > > -- Thanks, Shiva