Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8781157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:13:41+00:00 2026-06-13T20:13:41+00:00

Im trying to develop a simple web based chat program in java. Im using

  • 0

Im trying to develop a simple web based chat program in java. Im using spring, tomcat, hibernate, javascript, ajax, and jquery. Im new to all of these technologies. I asked a question here on SO. I got alot of answers / suggestions. One suggestion is to use WebServerSocket but the problem is I think tomcat6 does not support it. For some reasons I have to stick to tomcat6. I got suggestion to learn about ajax polling. Im reading it right now and as I understand it has some intervals to fetch another query. Is there a way that I can have my program fetch query if the server notices that a client uploaded / posted data to the server? Another question is, does skype uses polling? If polling has interval in fetching of data will it cause traffic to my server? Please be patient in explaining to me because I believe there are alot of concepts that I misunderstood about polling. Please enlighten me. Im reading alot about polling, comet, jms and my brain is already very confused. I spent almost 8 hours and I can barely grasp the concepts. Please help and suggest where will I begin. Im such a novice. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T20:13:42+00:00Added an answer on June 13, 2026 at 8:13 pm

    I think the closest solution is to use a tecnique called COMET. In short you call the server that hang your call until an event happen, so when the call returns you start again a new call and so on. On each request you can receive back the event detail. You have to carefully implement it on the server, maybe you need to investigate something about how to do COMET with tomcat, since this technique could harm the scalability.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to develop a very simple Java web application using JSP and Servlets.
i'm trying to develop a simple Hello World web service using Axis2 v1.5, Tomcat6
I'm trying to develop a simple spring 3 web application with a connection to
I am trying to develop one simple application using Java, Flex and Blazeds. I
I'm trying to develop a simple real-time graphical editor into my web-based (flash) app.
I am trying to develop a .NET Web Project using NHibernate and Spring.NET, but
I am trying to develop a simple sample mobile web app using MVC4, to
I am trying to develop a Web-Client based Online game using GWT. The game
I'm trying to develop a simple web service using Recess , which is a
I'm trying to develop a simple text-based hangman game, and the main game loop

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.