• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JSP/Servlets/Chat??

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im trying to find out how chat systems work. Im currently trying to develop one for my web site. I have created a program that simulates this using a ServerSocket for my servet program, and creating a socket for the client program. Problem is that there can only be one ServerSocket. I was thinking that I could create the ServerSocket with a servlet, but there can only be one. Then I heard of JSP which I still know very little about. I would appriciate if anyone could help me on this matter. If you could just tell me the basic steps on creating a chat system using java, and/or tell me of any good books. Thanks Terry
 
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Terry,
O'Reilly's book on Servlets by Jason Hunter has a chapter to developing a chat system with Servlets. I think it's just what you're looking for, and it's a very good book.
- Sean
 
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic