What is global module with EAP6?
Environment
Red Hat JBoss Enterprise Application Platform
- 6.x
Issue
From EAP6, global module is available but what is it and when it needs?
Resolution
A global module is a module that JBoss Enterprise Application Platform 6 provides as a dependency to every application. In other words, all application can be accessible to the library which is loaded as a global module Therefore, if it is needed to use a library from all applications, adding global module is a good way without modifying applications itself.
The way to add global module :
<subsystem xmlns="urn:jboss:domain:ee:1.0" >
<global-modules>
<module name="org.javassist" slot="main" />
</global-modules>
</subsystem>
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
