模块和子系统之间有什么区别 [英] What's the difference between a module and a subsystem

查看:705
本文介绍了模块和子系统之间有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在JBoss和Wildfly的上下文中,模块和子系统之间有什么区别?

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

推荐答案

Jboss模块是一个类加载系统:

Jboss modules is a class loading system:

JBoss模块是Java的模块化(非分层)类加载和执行环境的独立实现.换句话说,不是将所有的JAR都加载到平面类路径中的单个类加载器,而是每个库成为一个模块,该模块仅链接到其依赖的确切模块,仅此而已.它实现了线程安全,快速和高度并发的委托类加载器模型,并与可扩展的模块解析系统耦合,这些模块组合起来构成了一个独特,简单且功能强大的系统,可用于应用程序执行和分发. 在WildFly中加载类的指南

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

子系统是Jboss的可定制功能组:

Subsystems are the groups of customizable features of Jboss:

EE子系统在Java EE平台中提供了通用功能,例如EE并发实用程序(JSR 236)和@Resource注入.子系统还负责管理Java EE应用程序部署(即.ear文件)的生命周期. EE子系统配置可用于: 自定义Java EE应用程序的部署, 创建EE并发实用程序实例, 定义默认绑定 子系统配置指南

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

这篇关于模块和子系统之间有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆