How to control ServletContainerInitializer
I am creating REST service with glassfish and jersey.
I want to perform my original ServletContainerInitializer and it work.
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 there initializers?
Please suggest me a solution. Thanks in advance.