Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: for chat application, is it necessary sockets and mutithreading in servlets?

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default for chat application, is it necessary sockets and mutithreading in servlets?

    hi everyone,
    i want to develop the chat application,
    is it necessary to use server socket and mutithreading concept in the servlet?
    if u knew about it plzz help me guys.


  2. #2
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: for chat application, is it necessary sockets and mutithreading in servlets?

    Erm, weird questions you have indeed.

    Its not really needed to open up sockets inside the servlet, this is handled for you by your application container. You don't need to create multiple threads either, this is also handled by the application container.

    // Json

Similar Threads

  1. J2SE, JSP, Servlets, JavaScprit Guru - London, £60-70K
    By iNeedJavaGurus in forum Paid Java Projects
    Replies: 0
    Last Post: September 18th, 2009, 09:59 AM
  2. [SOLVED] Using html Radio Buttons with Servlets
    By oss_2008 in forum Java Servlet
    Replies: 2
    Last Post: June 25th, 2009, 05:39 AM
  3. Replies: 1
    Last Post: May 19th, 2009, 09:19 AM
  4. [SOLVED] How to link two servlets?
    By bhmadhukar in forum Java Servlet
    Replies: 4
    Last Post: May 19th, 2009, 08:24 AM
  5. SSL Chat implementation
    By Koren3 in forum Java Networking
    Replies: 6
    Last Post: April 24th, 2009, 08:20 AM