We want to integrate latest Jersey Version in Glassfish 4.1.
Glassfish provides Jersey 2.21.0 implementations, so we added Jersey 2.22.2 to WEB-INF/lib. It seams to work with new version.
But is this the correct solution? Will Glassfish always put the libraries in WEB-INF before its own to the classpath?