| Author |
How programing p2p by Rmi?
|
kien kun
Greenhorn
Joined: Feb 15, 2012
Posts: 27
|
|
|
Please,tutorial for me
|
 |
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
|
posted

0
|
RMI isn't really the right approach for P2P - it implements a client/server architecture, and relies on pre-exchanged knowledge between both sides.
Check out Apache River for a Java P2P implementation.
|
 |
kien kun
Greenhorn
Joined: Feb 15, 2012
Posts: 27
|
|
I should use what protocol is suitable with P2P instead of RMi.
If you was me,you will use what protocol is.
|
 |
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
|
posted

0
|
|
Depends on the circumstances, like where the participating nodes are located, security considerations, network topology etc.
|
 |
Viet Dung
Greenhorn
Joined: Mar 25, 2012
Posts: 1
|
|
|
You can use RMI+Socket to build p2p system
|
 |
Pat Farrell
Rancher
Joined: Aug 11, 2007
Posts: 4422
|
|
Viet Dung wrote:You can use RMI+Socket to build p2p system
You can use nearly anything that does network communications. That does *not* mean that you should.
IMHO, RMI is never the right answer.
|
 |
 |
|
|
subject: How programing p2p by Rmi?
|
|
|