users@glassfish.java.net

How can I control to perform ServletContainerInitializer ?

From: <forums_at_java.net>
Date: Tue, 6 Mar 2012 05:01:54 -0600 (CST)

hi, this is sad_sok.
I am creating REST service with glassfish and jersey.
I want to perform my original ServletContainerInitializer and it works.
but, both JerseyServletContainerInitializer and My
ServletContainerInitializer performes in random order then service
registration is conflicted for jax-rs annotated services.
I don't want to describe jersey dependent configuration in codes and
configuration like web.xml.
Because I don't want to make dependency to espesiol REST implements on my
project as a promise.
How can I disable to perform JerseyServletContainerInitializer in glasfish
server?
Or, how can I specify performing order for these initializers?
Please suggest me a solution. Thanks in advance.
Regards.


--
[Message sent by forum member 'sad_dok']
View Post: http://forums.java.net/node/884040