Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [servlet-dev] @Priority for ServletContainerInitializer

p.s.

Other than the above question, I do like the proposal of ordering using the existing ordering system by putting web-fragment.xml files in the same jar as the ServletContainerInitializers.

On Tue, Jun 9, 2020 at 4:11 PM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

On Tue, Jun 9, 2020 at 4:01 PM Greg Wilkins <gregw@xxxxxxxxxxx> wrote:
That is simpler and I think sufficient.

What about ServletContainerInitializers that originate from different .jar files in the web application? How can such a ServletContainerInitializer declare it wants to run before the system or library ServletContainerInitializers?

Kind regards,
Arjan Tijms


 
I like that this proposal is based on the current fragment ordering rather than adding a new mechanism.
I also agree that the ABAB problem should be resolved by splitting the jars.

So listeners would then also be added in the order of their declaration in fragments, followed by the order they are programmatically added?

cheers
--
_______________________________________________
servlet-dev mailing list
servlet-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/servlet-dev

Back to the top