I am working on an existing Java EE Application. It was said that the application uses RMI calls for getting data for one of the modules.
I was searching for UniCastRemoteObject and java.rmi.Remote, but neither of those could be found in the project.
How can I tell if the application uses RMI or not? Is there any specific class that should be extended?
Well, there are many frameworks nowadays that “hide” explicit RMI code from you,
So you will not find like this if RMI is used or not.
I guess that if you know what “communication framework” you’re using, you will know if the project uses RMI or not.
For example, when I worked with JBoss remoting I used an RMI “extension” to add RMI support without writing explicit RMI code, the framework did that to me.
If you want to try and findout during runtime if application uses RMI, maybe should check if the process “rmiregistry” is up.