You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Alex O'Ree (JIRA)" <ju...@ws.apache.org> on 2015/11/16 13:05:10 UTC

[jira] [Commented] (JUDDI-942) Automatic instantiation of UDDIClerkServlet

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

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

The example has the following...

 <servlet>
    <servlet-name>UDDIClerkServlet</servlet-name>
    <display-name>Clerk Servlet</display-name>
    <servlet-class>org.apache.juddi.v3.client.config.UDDIClerkServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

I'm assuming that the load-on-startup=1 flag should do what you're asking. Is it not working?

> 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)