[jboss-jira] [JBoss JIRA] (WFLY-11144) Remove javax.ejb.api module dependency on javax.rmi.api

Brian Stansberry (Jira) issues at jboss.org
Tue Oct 9 14:10:00 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-11144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645517#comment-13645517 ] 

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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list