• Post Reply Bookmark Topic Watch Topic
  • New Topic

Technologies for a Web based chat application  RSS feed

 
Anuradha Karunamuni
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm trying to come up with a web based chat application similar to facebook chat, to be able to support online customer care on a product site. I'm a bit confused on the technology selection for the chat application. It should be a light weight app and should not impact much on the main application flow.

Followings are the technologies used in the project to implement core functionalities;
- JSP
- Servlet
- Spring

I did some searching and figured JMS approach is a bit expensive performance wise. Considering Ajax as an option.

It would be of great help if you share any thought on this, so that I would be able to select the best option.

Thanks in advance.

 
Tim Moores
Saloon Keeper
Posts: 4024
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you set on developing this yourself? Something like http://www.comm100.com/ is pretty lightweight and free in its basic version.
 
Anuradha Karunamuni
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim,

I just wanted to build the application from the scratch considering learning purposes.
Anyway, thanks for the suggestion. Will try it out.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anuradha Karunamuni wrote:I did some searching and figured JMS approach is a bit expensive performance wise.

Before you've even written a line of code? Performance should be the LAST of your considerations (at least at this stage); and furthermore, I wouldn't be at all surprised if Ajax uses JMS somewhere under the hood anyway.

If you really want to do this from scratch, I would definitely use JMS as a starting point.

Winston
 
Tim Moores
Saloon Keeper
Posts: 4024
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Winston Gutkowski wrote:If you really want to do this from scratch, I would definitely use JMS as a starting point.

That seems an odd choice, given that chat only involves a single server. From where to where would you see messages flowing? (AJAX has nothing to do with messaging.)
 
Brian Burress
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you thought through some basic requirements for what you need chat application to perform?

I googled "opensource java chat solutions" and found a number of links including this site which holds a number of options and has some comments about features.

It may be worth your time to pick out one or more which sound close to your needs as you would reply to my opening question and look at them. Even if they don't meet your needs, you can learn how the solution is approach and get some ideas for what you can do.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!