Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Urgent: Client/server Message queue in java--how to?

Thread Tools

Urgent: Client/server Message queue in java--how to?

Posts: n/a
I am writing a huge client server application. My initial approach for
the communication was to use many client threads at the server which
will listen for the clients. but now i think creating so many threads
is inefficient. so i want to
have a message queue at the server where the cliets cud deposit the
msg. and a few threads in the server will pick msgs from the queue and
process them.
my question is hoqw to do this message queue in JAva?????

thanks in advance
Reply With Quote
Roedy Green
Posts: n/a
On 1 Jul 2003 22:07:48 -0700, Removed) (sriram) wrote or quoted

>my question is hoqw to do this message queue in JAva?????

look into various servlet wombs.


These are various environments where such multithread pooling are done
for you.

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See for The Java Glossary.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Program blocked in Queue.Queue.get and Queue.Queue.put Kris Python 0 01-04-2012 03:46 PM
Is Queue.Queue.queue.clear() thread-safe? Russell Warren Python 4 06-27-2006 03:03 PM
Write message in windows message queue (msmq) Ikkezelf C Programming 5 05-02-2006 08:54 AM
what's the difference between #include "queue.h" and #include "queue.cpp" Kceiw C++ 3 03-14-2006 03:01 AM
Queue.Queue-like class without the busy-wait Paul L. Du Bois Python 29 04-04-2005 01:28 PM