With Java 9 came modules and it allowed us to build custom JREs containing only the components that this application will ever use. JLink does a great job at trimming down the JVM. But how do we allow 3rd-party plugins if we decide to ship the application with a custom JRE? With each new plugin and each new version of a plugin, a recompilation might be required. Is there a software design architecture that can be used to avoid recompilation in this case? Can it be possible somehow to just drop the plugins in a directory and integrate it with the application at run time, IN CONTEXT OF A MINIMIZED JVM? If not, then what could be...sort of the middle ground between keeping the binary small and allowing extension through plugins?
Aucun commentaire:
Enregistrer un commentaire