jboss中有model的概念
根据其development guide的解释:
A Module is a logical grouping of classes used for class loading and dependency management. JBoss
Enterprise Application Platform 6 identifies two different types of modules, sometimes called static and
dynamic modules.
Static Modules
Static Modules are predefined in the EAP_HOME/m odules/
jboss提供的api都被定义成model,放在这个modules目录下
All the application server provided APIs are provided as static modules, including the Java EE
APIs as well as other APIs such as JBoss Logging.
Dynamic Modules
Dynamic Modules are created and loaded by the application server for each JAR or WAR
deployment
也就是说我们部署的jar包和war包,jboss都加载为module
所有这些module只有需要的时候再加载
standalone.xml可以指定server时需要加载哪些model
并且对每个model都可以定义一个subsystem元素来指定其属性
另外 standalone.xml中也可以定义socket-binding-group元素,指定 端口对应关系。
例如如果我们已经定义了
<http-interface security-realm="ManagementRealm">
<socket-binding http="management-http"/>(绑定management-http)
</http-interface>
那么我们在socket-binding-group中可以具体定义management-http绑定哪个端口
<socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
默认的话jboss web console的端口为9990
企业版 jboss是没有jboss jmx console的