How to implement multithreaded server in java?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanjana Bhatt
    New Member
    • Jan 2011
    • 1

    How to implement multithreaded server in java?

    i want to implement a multithreaded server having atleast 3 client threads.. i m quite new to server programming..
    can u guys suggest me how to proceed
    plz help.. its urgnt
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    have a look at the Java tutorial on sockets
    This networking Java tutorial describes networking capabilities of the Java platform, working with URLs, sockets, datagrams, and cookies


    I would recommend implementing a none threaded version first (server will only accept a single client) then when working extended it to use a seperate thread for each client

    if you have problems post the code

    Comment

    Working...