wildfly Adding modules to wildfly Adding module com.stackoverflow

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

  • Pack your com.stackoverflow.${whatever} clases on a jar called stackoverflow.jar
  • Create folder com/stackoverflow/main on ${WILDFLY_HOME}/modules
  • Put the jar on the last dir
  • Create a file called module.xml with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="com.stackoverflow">
    <resources>
        <resource-root path="stackoverflow.jar"/>
    </resources>
</module>

And now you have you module available to applications



Got any wildfly Question?