Details
-
Task
-
Resolution: Done
-
Major
-
None
-
None
Description
The javax.ejb.api module depends on javax.rmi.api. But I can't see any reason why; the code in the spec jar does not import anything from any of the classes in the javax.rmi and org.jboss.javax.rmi packages that the javax.rmi.api module exports.
This is important because javax.rmi.api brings in a huge dependency tree. That module is really just a wrapper around javax.orb.api, exporting a subset of its packages. And javax.orb.api is a misnomer – it's not just API, it's the entire orb, with implementation dependencies that transitively bring in a large chunk of the entire appserver codebase.
So if javax.ejb.api does not need javax.rmi.api we need to remove that link.