• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Technologies for a Web based chat application

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7091
165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7091
165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic