The prototype I sent out on Monday (available here: http://superflaco.com/Beehive/AnnotatedAxis.war) has a very basic AnnotationProcessor that uses reflection. The collected annotations, now stored in a more convenient object structure are then passed to AXIS specific code to initalize the service based on those Annotations which can then generate the WSDL as well as execute incoming calls.
One reason to use APT on the source rather that interrogate the class file using reflection is that parameter names are lost in compilation unless explicity annotated. Cheers, Jonathan -----Original Message----- From: Anil Sharma [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:57 AM To: Beehive Developers Subject: RE: Beehive JSR-181 implementation -- proposal I started off by writing a few wrapper classes around the annotations. But I have just done the annoatation reading using the reflection API in Java 5, nothing yet done for reading annotations off the source file. In fact, I'm not sure if we need to do that - just compiling the source file using a Java5 compiler or apt and reflecting on the generated class should be enough. Haven't looked at the APT tool, not sure if it has capability to work off the source code. I'll also check out the existing beehive code (guess you are talking abt stuff in org.apache.beehive.controls.runtime.generator package). Anil. --- Michael Merz <[EMAIL PROTECTED]> wrote: > Hi Anil, > > Sounds great. What piece of the annotation processor are you working on? > I have started looking at Sun's apt (annotation processing tool), > which is also used by the controls subproject. I hope that we can > share some of the already existing code. > > From looking at the Axis code base, I think you're right; we should be > able to leverage a lot of their code as well, including the Java2WSDL > and WSDL2Java tools. > > Cheers, > > -michael > > -----Original Message----- > From: Anil Sharma [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 19, 2004 10:58 AM > To: Beehive Developers > Subject: Re: Beehive JSR-181 implementation -- proposal > > Hi Michael, Ias & others, > > I'd started writing the Annotation Processor component a couple of > days back & half-way thru it. > Should be able to submit my work sometime next week to the group for > feedback from others. > > I also started on the Java2Wsdl part but wasn't sure if it should be > written indepenently or if the Axis code can be reused. From what I > saw, there is a lot of scope of reuse from Axis but that might require > some changes to Axis code. Any views on this? I'm planning to work on > this piece too, in next 1-2 weeks. > > Anil. > > --- Michael Merz <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > A proposal for a JSR-181 implementation within Apache's Beehive > project > > has been published at Beehive's Wiki: > > > > http://wiki.apache.org/beehive/Jsr181Impl > > > > in: > > > > http://wiki.apache.org/beehive/Web_20Services > > > > This proposal is based on previous discussions on this list > > (including comments from Ias, Jongjin, and Sanjiva) plus a few > > additional ideas; > it > > is a very high-level design proposal, intended to be a "living > document" > > -- so feel free to add and modify. > > > > Cheers, > > > > -michael > > > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
