This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Chat Application Architecture?  RSS feed

 
Badal Kotecha
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 42
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!