Re: Instant Chat System for 1000 simultaneous clients



anshul saprey wrote:
On Apr 12, 2:08 am, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
On Fri, 11 Apr 2008 07:16:16 -0700 (PDT), anshul saprey
<anshul_sap...@xxxxxxxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :

I want to implement instant messaging system that will use client
server interface and can handle 1000 simultaneous clients connections.
PLease give me suggestions or links to codes.
tutorials etc. for that
can it be easier to implement using java api's ?

see http://mindprod.com/jgloss/jabber.html

One problem when you do anything clever with instant messaging is
firewalls freak and block you. BitTorrent has the same problem.
If you have technically savvy audience this is not such a problem,
but won't do for the average home user.

Hello, thank you for your reply. You told about the works that is to
be done after implementation,

Roedy's URL points to a web page with links to Java implementations of chat clients and servers.


I want the method or procedure that can
create 1000 clients ar thread.

The method is Thread() and the procedure to create 1000 of them is

Thread[] threads = new Thread[1000]
for (int i = 0; i < threads.length; i++) {
threads[i] = new Thread();
threads[i].start();
}
// ;-)

http://java.sun.com/docs/books/tutorial/essential/concurrency/


so that these many users can be in a chat room simultaneously.

Have you tried a few of the existing commercial/free chat packages? http://www.google.com/search?q=chat+server


You don't seem to a have a problem relating to Java GUI programming, the main subject of comp.lang.java.gui.

--
RGB
.



Relevant Pages

  • Re: alternative to lua
    ... As a browse through different script languages I realise more what I ... I need to be able to send script to my clients that call methods ... the c++ client and the Java client). ...
    (comp.lang.java.programmer)
  • Re: Deploying SSL-based VPNs
    ... SafeNets iGate) that they rely on one specific java version. ... All those restrictions create huge problems if the clients are not ... education and the case study affords you unmatched consulting experience. ... Computer Emergency Response Teams, and Digital Investigations. ...
    (Security-Basics)
  • Re: IDL design
    ... I would avoid using enums unless you have full control of all clients, ... enum values for any reason. ... interface DataValidationErrorCodes { ... Yes, method names in Java should start with a lowercase, e.g. ...
    (comp.object.corba)
  • RE: Deploying SSL-based VPNs
    ... 3131 South Las Vegas Blvd, Las Vegas, NV 89109 ... any idea about the dependencies of the java clients? ... All those restrictions create huge problems if the clients are not ... Any experiences with certain products? ...
    (Security-Basics)
  • Re: Java Beginner
    ... Let's say that I have a log in page, created with only HTML code. ... Now in my jsp page I check the validity of my ... --I show all the clients for this Id ... If it's java you're particularly interested in have a look at the struts ...
    (comp.lang.java.programmer)