Re: annotation processing in eclipse
Lew wrote:
stc wrote:
"Lew" <lew@lewscanon.com> wrote in message
news:Q-WdnaNyrpAPksvanZ2dnUVZ_s7inZ2d@comcast.com...
stc schreef:
I'm trying to write simple test webservice with only one method
that returns
some string. From what I've found on the net it seems as if it's
enough to
put @WebService annotation for the class and annotation processor
would
generate necessary files for deployment on application server.
Hendrik Maryns wrote:
Where did you find this?
I, too, am interested in the answer to Hendrik's question. What is
the answer?
Not on some specific website but all over the net. At least, that's
what I thought I found. NetBeans generates all files necessary to
deploy webservice just by adding @WebService annotation to the class
so I thought Eclipse could do the same.
Annotations have to be processed by a processor aware of the annotations. At
a minimum you need a library that implements JSR 181 in your project. It
might be that Eclipse doesn't have logic to handle these annotations, but
perhaps there is a plugin that will remedy that. It seems that NetBeans is
equipped to handle JSR 181 automagically for you right out of the box.
--
Lew