geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Commented: (GERONIMO-2781) Improved CXF-based POJO WebService support
Date Fri, 26 Jan 2007 21:11:49 GMT


Davanum Srinivas commented on GERONIMO-2781:


Please check the svn revision 500348. Specifically the webservices.xml (testsuite\webservices-testsuite\jaxws-tests\jaxws-war\src\main\webapp\WEB-INF\webservices.xml)
I had to apply the diff by hand for that one.


> Improved CXF-based POJO WebService support
> ------------------------------------------
>                 Key: GERONIMO-2781
>                 URL:
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-beta1
>            Reporter: Jarek Gawor
>         Attachments: GERONIMO-2781.patch
> The attached patch contains numerous improvements to JAX-WS support for POJOs (via CXF):
> 1) Annotation support for the service and handlers. The following annotation are recognized:
@Resource, @EJB, @WebServiceRef, @PreDestroy, @PostConstruct. The values are injected if the
given resource is defined in JNDI. The patch includes a basic annotation processor. The processor
itself is pretty basic but is generic and pluggable and can be (re)used in other places. It
was necessary to add one because CXF annotation processor only handles @Resource annotations
and it was not very extensible.
> 2) WebServicesContext.getUserPricipa() and .isUserInRole() are now properly implemented
by delegating the calls to the Servlet class
> 3) Improved webservices.xml file parsing and information passing to the web container.
Information specified in the webservices.xml file can now overwrite the information specified
in the annotations. For example, @HandlerChain can be overwritten by <handler-chains>
element. Same with wsdl-port, wsdl-service, and wsdl-file.
> 4) Switched to using Commons Logging API instead of Java Logging API

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message