1. 用Spring包裝的RMI server, 如果想要給Legacy client呼叫,就不能只寫pojo,必須要implement RMI標準的介面。
2. 當client environment起動時,如果不需要馬上使用遠端服務,或是為了要避免遠端服務還沒起來,想要延遲lookup proxy stub,必須加入這個參數
false
3. 如果系統運作當中,RMI server如果重新啟動,RMI client不會自動重新lookup proxy stub,必須要加入這個參數才會在connect fail之後重新lookup proxy stub
4. 當RMI server環境中如果有多張網卡,你想指定bind某一特定IP的話,則可以在APP Server啟動時加上這個參數
-Djava.rmi.server=xxx.xxx.xxx.xxx
