Menu

#1 Find Remote interfaces in dependent projects

open
nobody
None
5
2007-12-13
2007-12-13
No

1) Create a Java project with an interface that extends java.rmi.Remote
2) Create another Java project that contains a remote object that implements the interface above
3) (Of course, the project in 2 must depend on the project in 1)
4) Right click on project 2, find the "RMI" sub-menu and select "Add RMI Builder"

Result: Even though the projects described in steps 1-3 are perfectly valid Eclipse Java project and compile without error, the RMI stubs will not build because the RMI plug-in does not follow the dependency from project 2 to project 1 to find the Remote interface

Discussion


Log in to post a comment.

MongoDB Logo MongoDB