Re: Instant Chat System for 1000 simultaneous clients
- From: RedGrittyBrick <RedGrittyBrick@xxxxxxxxxxxxx>
- Date: Tue, 15 Apr 2008 15:57:42 +0100
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
.
- Follow-Ups:
- References:
- Instant Chat System for 1000 simultaneous clients
- From: anshul saprey
- Re: Instant Chat System for 1000 simultaneous clients
- From: Roedy Green
- Re: Instant Chat System for 1000 simultaneous clients
- From: anshul saprey
- Instant Chat System for 1000 simultaneous clients
- Prev by Date: Re: Instant Chat System for 1000 simultaneous clients
- Next by Date: Re: Instant Chat System for 1000 simultaneous clients
- Previous by thread: Re: Instant Chat System for 1000 simultaneous clients
- Next by thread: Re: Instant Chat System for 1000 simultaneous clients
- Index(es):
Relevant Pages
|