The module system planned for debut in next year's Java SE (Standard Edition) 9 platform will treat modules as a fundamental new kind of program component, with the system improving scalability and performance, a key Oracle Java official says.
In a blog post this week, Oracle's Mark Reinhold, chief architect of the Java platform group, discussed the goals of the module system. Chief among them is reliable configuration, to replace the "brittle, error-prone, class-path mechanism" with a means for program components to declare dependencies on each other. Strong encapsulation, which allows a component to declare which public types are accessible to other components, is also a goal.