The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Blog Archive for mriem during June 2009

If you need to expose a class as a web service it is fairly easy. Just annotate it with @WebService and let the JAXWS runtime take care of the rest. See the Webservice Almanac page for more information.
Once you have a method tagged as a webservice method, how can you name the result? Use the @WebResult annotation. See the Webservice Almanac page for more information.
If you expose a method as a webservice method, how do you name its parameters? Easy, use the @WebParam annotation. See the Webservice Almanac page for more information.
How do you tell the JAXWS runtime to expose a given method as a webservice method? Easy, use the @WebMethod annotation, see the Webservice Almanac page for more information.
Well, this day would eventually come, I have reached the milestone of 100 blog entries ;)
What if you want to call a web service asynchronously? Well, that's where the @Oneway annotation comes in. See the Webservice Almanac page for more information.
Writing a custom validator is fairly easy, setting it up so the runtime can see it has even become easier. See the JSF almanac page for more information.
Registering a renderer to the runtime is easy, see the JSF almanac page for more information.
How do you register a class as a ClientBehaviorRenderer? See how it is done at the JSF almanac page.
If you ever have a need to register your own event, you can use the @NamedEvent annotation, see the JSF almanac page for more information.