o******t 发帖数: 1144 | 1 If there is a code using TCP socket perfect fine. Now some guys want to move
to RMI. So what the benefit and limitation of RMI? | c*****t 发帖数: 1879 | 2 I used RMI long time ago, probably the following is not exactly
correct.
RMI does one thing and one thing well: you don't have to design the
communication protocol. The I/O is automatically done for you
since data is send as object streams.
Also, it saves you trouble writing network communication codes,
dealing with threading issues, etc. Most of these stuff are invisible
in RMI.
So, it is for rapid client/server development.
The problem with object stream is inheritant: object persistance/ve
【在 o******t 的大作中提到】 : If there is a code using TCP socket perfect fine. Now some guys want to move : to RMI. So what the benefit and limitation of RMI?
| m******t 发帖数: 2416 | 3
You can bypassing firewall through http tunnelling.
【在 c*****t 的大作中提到】 : I used RMI long time ago, probably the following is not exactly : correct. : RMI does one thing and one thing well: you don't have to design the : communication protocol. The I/O is automatically done for you : since data is send as object streams. : Also, it saves you trouble writing network communication codes, : dealing with threading issues, etc. Most of these stuff are invisible : in RMI. : So, it is for rapid client/server development. : The problem with object stream is inheritant: object persistance/ve
|
|