Java Magazine, September/October 2017
Understanding Java 9 Modules What they are and how to use them ORACLE COM JAVAMAGAZINE SEPTEMBER OCTOBER 2017 18 java 9 In this article I introduce the Java 9 Platform Module System JPMS the most important new software engineering technology in Java since its inception Modularity the result of Project Jigsaw helps developers at all levels be more productive as they build maintain and evolve software systems especially large systems What Is a Module Modularity adds a higher level of aggregation above packages The key new language element is the module a uniquely named reusable group of related packages as well as resources such as images and XML files and a module descriptor specifying the modules name the modules dependencies that is other modules this module depends on the packages it explicitly makes available to other modules all other packages in the module are implicitly unavailable to other modules the services it ofers the services it consumes to what other modules it allows reflection History The Java SE platform has been around since 1995 There are now approximately 10 million developers using it to build everything from small apps for resource constrained devices like those in the Internet of Things IoT and other embedded devices to large scale business critical and mission critical systems There are massive amounts of legacy code out there but until now the Java platform has primarily been a monolithic one size fits all solution Over the years PAUL DEITEL
You must have JavaScript enabled to view digital editions.