I want to create a chat application which is client/server based.
What will be the best? Using sockets or by using rmi?
PS: Is it possible to create chat application by using rmi?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
RMI is a technology that works ontop of sockets. It’s comparing apples to oranges. Sockets are the low-level stuff that handles the network communication, while RMI is a protocol that sits ontop of sockets in order to make it possible to invoke java methods on remote JVMs.