Search code examples
ajaxweblogicrmi

RMI and threading on weblogic


I have a web app implemented with SmartGWT (Ajax) and deployed to WebLogic 12c. Due to difficulties resolving classpath issues integrating one particular custom API, I'm investigating the suitability of using Java RMI to access this API. My question is, since my app is completely asynchronous, is there a potential for threading issues when using RMI?


Solution

  • RMI is not 'completely asynchronous': it is fundamentally a request/response protocol. There is always a 'potential for threading issues when using RMI'. There are no guarantees about the RMI threading behaviour. Any synchronization required is therefore 100% up to you.