Are javax packages stable?
It's nothing to worry about. There are Java classes that have been deprecated for the last 15 years, but they are still in the mainstream libraries for backward compatibility.
Even if the whole javax. * classes are deprecated, they will not disappear.
You might want to look at the Java 9 modular system .
source to share