Close Menu
Şevket Ayaksız

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    EcoFlow Delta Pro Power Station Keeps 3,000-Sq-Ft

    Nisan 11, 2026

    Ryobi Yard Essentials Bundle Includes Free Power Tool

    Nisan 11, 2026

    This Battery Charger Station Eliminates Battery Guesswork

    Nisan 11, 2026
    Facebook X (Twitter) Instagram
    • software
    • Gadgets
    Facebook X (Twitter) Instagram
    Şevket AyaksızŞevket Ayaksız
    Subscribe
    • Home
    • Technology

      This $20 gadget fixes Wi-Fi dead zones at home

      Nisan 8, 2026

      Beats Powerbeats Pro 2 earbuds drop $50 to $200

      Nisan 8, 2026

      Intel’s new Core Ultra “Plus” CPUs promise gains but face doubts

      Nisan 8, 2026

      Samsung Fixes Chromecast Glitch on Older TVLatest Update

      Nisan 7, 2026

      Android Auto’s Secret Shortcut Lets You Automate Any Car Task

      Nisan 7, 2026
    • Adobe
    • Microsoft
    • java
    • Oracle
    Şevket Ayaksız
    Anasayfa » What is JPMS? Introducing the Java Platform Module System
    java

    What is JPMS? Introducing the Java Platform Module System

    By mustafa efeAğustos 4, 2024Yorum yapılmamış3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    The module system introduced in Java 9 makes it easier to organize your code. Here’s a brief guide to working with modules in Java

    Until Java 9, Java’s top-level code organization element had been the package. Starting with Java 9 that changed: above the package now is the module. The module collects related packages together.

    The Java Platform Module System (JPMS) is a code-level structure, so it doesn’t change the fact that we package Java into JAR files. Ultimately, everything is still bundled together in JAR files. The module system adds a new, higher-level descriptor that JARs can use, by incorporating the module-info.java file.

    Large-scale apps and organizations will take advantage of modules to better organize code. But everyone will be consuming modules, as the JDK and its classes are now modularized.

    Why Java needs modules

    JPMS is the outcome of project Jigsaw, which was undertaken with the following stated aims:

    • Make it easier for developers to organize large apps and libraries
    • Improve the structure and security of the platform and JDK itself
    • Improve app performance
    • Better handle decomposition of the platform for smaller devices

    It’s worth noting that the JPMS is a SE (Standard Edition) feature, and therefore affects every aspect of Java from the ground up. Having said that, the change is designed to allow most code to function without modification when moving from Java 8 to Java 9. There are some exceptions to this, and we’ll note them later in this overview.

     

     

    The chief idea behind a module is to allow the collection of related packages that are visible to the module, while hiding elements from external consumers of the module. In other words, a module allows for another level of encapsulation.

    In practical terms, modules help manage dependencies more efficiently. For instance, in a large codebase, you can define which parts of your code are exposed to other modules and which parts are internal. This is done through the module-info.java file, where you specify the module’s name, its dependencies, and the packages it exports.

    Another significant advantage of the module system is that it can help with reducing the size of applications. By knowing exactly which parts of the code are necessary, the Java runtime can strip away unnecessary parts, which is particularly useful for smaller devices and cloud deployments.

    Overall, the introduction of JPMS has added a powerful tool for developers, helping to create more maintainable, secure, and performant Java applications.

    Post Views: 317
    java Programming Languages Software Development
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    mustafa efe
    • Website

    Related Posts

    Optimizing Java Streams for High-Performance Applications

    Aralık 20, 2025

    AI Brings a New Spark to JavaScript Programming

    Kasım 9, 2025

    Revisiting the Spring Framework: What’s New and Why It Still Matters

    Kasım 9, 2025
    Add A Comment

    Comments are closed.

    Editors Picks
    8.5

    Apple Planning Big Mac Redesign and Half-Sized Old Mac

    Ocak 5, 2021

    Autonomous Driving Startup Attracts Chinese Investor

    Ocak 5, 2021

    Onboard Cameras Allow Disabled Quadcopters to Fly

    Ocak 5, 2021
    Top Reviews
    9.1

    Review: T-Mobile Winning 5G Race Around the World

    By sevketayaksiz
    8.9

    Samsung Galaxy S21 Ultra Review: the New King of Android Phones

    By sevketayaksiz
    8.9

    Xiaomi Mi 10: New Variant with Snapdragon 870 Review

    By sevketayaksiz
    Advertisement
    Demo
    Şevket Ayaksız
    Facebook X (Twitter) Instagram YouTube
    • Home
    • Adobe
    • microsoft
    • java
    • Oracle
    • Contact
    © 2026 Theme Designed by Şevket Ayaksız.

    Type above and press Enter to search. Press Esc to cancel.