[ 
https://issues.apache.org/jira/browse/JUDDI-942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007660#comment-15007660
 ] 

Alex O'Ree commented on JUDDI-942:
----------------------------------

I like it. If you're so inclined to do the work, i'll merge it for the next 
release. For backwards compat with servlet 2.x, this would probably be best 
hooked into either
a) a separate library with servlet 3.0 as a dependency
b) declare servlet 3.0 as an optional, provided dependency, then use the above 
code
c) use reflection to test for the presence of that method and rock it that way

> Automatic instantiation of UDDIClerkServlet
> -------------------------------------------
>
>                 Key: JUDDI-942
>                 URL: https://issues.apache.org/jira/browse/JUDDI-942
>             Project: jUDDI
>          Issue Type: Improvement
>          Components: juddi-client
>    Affects Versions: 3.3.1
>            Reporter: Matthieu Ghilain
>
> It would be useful to not have to instantiate manually the UDDIClerkServlet 
> when running in a Servlet 3.0 env. Would it be possible to add a class 
> implementing ServletContextListener which would instantiate automatically the 
> UDDIClerkServlet?
> Therefore the registration of services would be done automatically by adding 
> the JUDDI annotations on the web services classes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to