I every one! I have two questions to anwser tomorow in a class and I have no clue about the anwser! Anyone could help me please?

the 2 questions are about a chat p2p that implement two patrs: a part that handle the communications via sockets and a part that handle the communications by RMI.

Question1 -
There are any possibility of one aplication based on only in sockets could interact with other aplication based on RMI?

Question2 - considerer only the RMI aplications, Is necessary any kind of procedures to ensure the comunications of diferents but similar aplications based on RMI?


thank you so much for who that answer me!