CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2010
    Posts
    1

    how to write two server program for multiple clients in java

    hi all..........

    I wrote the java program as one server having multiple clients....

    Now, I need to write 2 server program handling multiple clients.......

    If one server fails,... another server should handle the clients......

    Can anybody gave me idea for doing this,... If you have code related to this plz post me that too......

    Thanks...

  2. #2
    Join Date
    Jun 2007
    Location
    Aurora CO USA
    Posts
    137

    Re: how to write two server program for multiple clients in java

    How are you running your servers? Are they running under an app server or something like that? If so, most of these will provide that functionality for you. You run multiple instances of your application and the app server takes care of load balancing.

    There is also code for this in the Apache web server proxy.

    I don't know of any other examples, off hand. You might try Googling java load balancing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured