Java Spring RMI Activation

杀马特。学长 韩版系。学妹 提交于 2019-12-12 06:30:14

问题


As I understand, spring has a nice framework for RMI that looks like its still using the old school UnicastRemoteObject class. What if i wanted to use Activation instead, does spring support this? I havn't found any documents to support this? I am confused if this is actually implementable through spring?? Also just to mention, the rmid is another daemon needed. Does spring deal with this at all? Also from anyone elses experience, what would be the best way to use Activation and incorporate Spring?


回答1:


Spring doesn't support RMI activation. Spring includes an RmiServiceExporter for calling remote objects that contains nice improvements over standard RMI, such as not requiring that services extend java.rmi.Remote.

This being said, why are you interested in RMI activation, as opposed to a RESTful web service instead?



来源:https://stackoverflow.com/questions/38257522/java-spring-rmi-activation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!