Java RMI and synchronized methods

前端 未结 4 1503
感情败类
感情败类 2021-02-02 15:07

I\'m studying the book \"Distributed Systems\" (by Tanenbaum & Van Steen) and they say something that seems to conflict to what seems to be instead thought by many on Java R

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-02 15:31

    As far as I know each call to an RMI server will create a new thread (witnessed by my log files from 2000) on server side. If you do synchronizing at server side you should be safe. I faced some ancient warnings from literature as you posted. As an practicioner I prefered to run the software for a month or so and decided it was stable enough for for production. I'm Sorry if this isn't not satisfying.

提交回复
热议问题