weixin_33696106
weixin_33696106
2012-12-03 22:18
采纳率: 0%
浏览 22

WebLogic上的RMI和线程

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?

图片转代码服务由CSDN问答提供 功能建议

                    

我有一个使用SmartGWT(Ajax)实现并部署到WebLogic 12c的Web应用程序。 由于无法解决集成一个特定的自定义API的类路径问题,我正在研究使用Java RMI访问此API的适用性。 我的问题是,由于我的应用程序是完全异步的,因此在使用RMI时是否存在线程问题的可能性?     

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • weixin_33717298
    weixin_33717298 2012-12-04 08:52

    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.

    点赞 评论

相关推荐