Not sure if this is the right place or not but for a bit of work i have to critically evaluate UDP, TCP and RMI for use in a chat application. I was wondering if anybody would be able to help me as i was wondering what kind of things i would need to talk about when doing this e.g. threading
ehh your gona make a chat program?
Then you should use the socket module.
But I belive you must also have a server, and those costs..
Unless, ofcurse, you let your own computer be the server..
yea Chat program.
Have to evaluate the potential architectures they have and what would be the best one to use.
well, RMI is specific to Java, UDP is not reliable over large networks and doesn't traverse well through firewalls or NAT.
so by default, that leaves TCP.
Jabber messenger (the eXtensiblle Message Presence Protocol) XMPP Standards Foundation
is based on TCP, and using XML structured messages on TCP. I personally would prefer to investigate a lighter weight envelope, such as JSON, but XMPP is a pretty mature standard, as far as figuring out good scaleable solutions to many common problems it has a lot of bases covered, and there are implementations of the protocol library in many languages and target operating systems.