aspose file tools
The moose likes Distributed Java and the fly likes Chat Application Architecture? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Chat Application Architecture?" Watch "Chat Application Architecture?" New topic
Author

Chat Application Architecture?

Badal Kotecha
Ranch Hand

Joined: Sep 06, 2000
Posts: 42
Can anybody help me out about what could be the best architecture for developing a chat application like MSN Messenger (for intranet as well as if possible for the internet as well).
I know RMI or .net can be very useful but can anybody tell me more clearly that what threading issues and client-to-server or server-to-server communication should be taken into consideration ??
Please help me in detail.
Thx in advance
bye
Badal
Jack Numen
Greenhorn

Joined: Nov 09, 2011
Posts: 18

Hi Badal,
According to my study
There are two ways to develop Chat Application.
1.Using Sockets and Streams
2.Using JMS

Using Sockets guarantees the delivery of the message but this is often used because most of the firewalls block socket connections.
Using JMS for a chat application is an overkill because a simple chat application doesnt need J2EE architecture and on top of that it effects the application performance

 
IntelliJ Java IDE
 
subject: Chat Application Architecture?
 
Threads others viewed
Java chat application
Voice Chatting using JMF
live website chat application!
Clustered Environment
chat application
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture