]
Brian Stansberry commented on WFLY-11144:
-----------------------------------------
Thanks, David.
Remove javax.ejb.api module dependency on javax.rmi.api
-------------------------------------------------------
Key: WFLY-11144
URL:
https://issues.jboss.org/browse/WFLY-11144
Project: WildFly
Issue Type: Task
Components: EJB
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Major
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.