• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Technologies for a Web based chat application

 
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.

 
Saloon Keeper
Posts: 6517
158
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • 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.
 
Bartender
Posts: 10777
71
Hibernate Eclipse IDE 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: 6517
158
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • 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.)
 
Ranch Hand
Posts: 137
  • 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.
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic