javax.api module deprecated in EAP 8.0
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 8
Issue
javax.api module deprecated in EAP 8.0 as per Deprecated in Red Hat JBoss Enterprise Application Platform (EAP) 8 , what should it be changed to?
Resolution
The javax.api module still exists in EAP 8.0, but is deprecated and will be removed in the future.
Custom JBoss Modules that are depending on javax.api should replace it with the JDK modules needed, if unsure, just replace it with these 4 which are what javax.api was adding:
<module name="java.se" export="true"/>
<module name="java.xml" export="true"/>
<module name="java.xml.crypto" export="true"/>
<module name="jdk.xml.dom" export="true"/>
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.