What's the difference between a module and a subsystem

╄→гoц情女王★ 提交于 2020-01-17 08:39:06

问题


In the context of JBoss and Wildfly, what's the difference between a module and a subsystem?


回答1:


Jboss modules is a class loading system:

JBoss Modules is a standalone implementation of a modular (non-hierarchical) class loading and execution environment for Java. In other words, rather than a single class loader which loads all JARs into a flat class path, each library becomes a module which only links against the exact modules it depends on, and nothing more. It implements a thread-safe, fast, and highly concurrent delegating class loader model, coupled to an extensible module resolution system, which combine to form a unique, simple and powerful system for application execution and distribution. Guide for Class Loading in WildFly

Subsystems are the groups of customizable features of Jboss:

The EE subsystem provides common functionality in the Java EE platform, such as the EE Concurrency Utilities (JSR 236) and @Resource injection. The subsystem is also responsible for managing the lifecycle of Java EE application's deployments, that is, .ear files. The EE subsystem configuration may be used to: customise the deployment of Java EE applications, create EE Concurrency Utilities instances, define the default bindings Guide for subsystem configuration



来源:https://stackoverflow.com/questions/47922826/whats-the-difference-between-a-module-and-a-subsystem

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!