This rule flags references to javax.xml.rpc.holders packages. The JAX-RPC package has individual holder classes for each data type ( IntHolder , StringHolder , DoubleHolder , etc). With JAX-WS there is now a new single Holder class that could be parameterized with each type( Holder<String> , Holder<Int> , etc).
Example of JAX-RPC:
Example of JAX-WS:
In the examples above you can see that there is now only one package that needs to be imported javax.xml.ws.Holder (instead of javax.xml.rpc.holders.IntHolder , and javax.xml.rpc.holders.StringHolder ). Another difference is the parameters of the demoHolder method; instead of StringHolder text, IntHolder count now you can only call Holder<String> text, Holder<Integer> count .