The separation between these packages is for a better organization.
The java package is more basic and the package javax
are extra features, enhanced, that can make use of pure java classes or not.
The classes of the package java
are older, already the classes of javax
are extensions. Note that in the case of sql, if parsing javadoc one-class javax
, it must also contain the import for the basic java classes you are taking, to add extra features. Already viewing javadoc from a pure java package class, you won’t find javax package class Imports.
In short, javax complements pure java classes.
Antonio, I removed the final section so that the content of your answer is objective, focusing only on answering the question.
– user28595