geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Created: (GERONIMO-2781) Improved CXF-based POJO WebService support
Date Fri, 26 Jan 2007 20:18:49 GMT
Improved CXF-based POJO WebService support

                 Key: GERONIMO-2781
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.0-beta1
            Reporter: Jarek Gawor

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