The basic idea is that modules are moved outside of java.base provided that they contain some technical specification or format that isn't strictly necessary to the foundations of Java. XML, for example, is a very specialized format which doesn't need to be in java.base. Similarily for HTTP, which is moved to its own separate module.
Language extensions

- The Java compiler API
- Java management extensions
- Instrumentation
The instrumentation module allows you to instrument programs running on the JVM. In particular, it defines the ClassFileTransformer class which lets you transform the bytecodes of Java methods running on the JVM. The ClassFileTransformer can be added to an agent using the addTransformer method of the Instrumentation interface. This is clearly deeply linked to the JVM and its bytecode format in its implementation, but it is not needed in java.base.
Finally, there is a whole host of management extensions provided by JMX. All of these are based upon the concept of managed bean which is defined with the purpose of monitoring some kind of object on the JVM. An MBean is not a Java bean in the sense of the desktop module, but it gets the name from the fact that MBeans have similar properties to beans like their getters and setters.
Utilities
Java SE provides additional utilities in two separate single-package modules:- Logging: in the java.util.logging package
- Preferences: in the java.util.prefs package
Networking extensions

Security

XML
The java.xml module is the third largest module in the Java SE platform because it provides such a wide array of functionality like SAX, StaX, JAXP, and the DOM. Another module in Java SE defines XML cryptography.Previously
Overview of the Java Base module
Overview of the Java XML module
No comments:
Post a Comment