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

Discussion in 'Java' started by sriram, Jul 2, 2003.

  1. sriram

    sriram Guest

    hi,
    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
    -Sriram
     
    sriram, Jul 2, 2003
    #1
    1. Advertising

  2. sriram

    Roedy Green Guest

    On 1 Jul 2003 22:07:48 -0700, (sriram) wrote or quoted
    :

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


    look into various servlet wombs.

    See http://mindprod.com/jgloss/servletwomb.html

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

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
     
    Roedy Green, Jul 2, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sachin Jagtap

    URGENT !! QUEUE STL PROBLEM URGENT!!

    Sachin Jagtap, Apr 28, 2005, in forum: C++
    Replies:
    4
    Views:
    1,045
    Mark Stijnman
    Apr 29, 2005
  2. Paul L. Du Bois

    Queue.Queue-like class without the busy-wait

    Paul L. Du Bois, Mar 24, 2005, in forum: Python
    Replies:
    29
    Views:
    1,061
    Antoon Pardon
    Apr 4, 2005
  3. Russell Warren

    Is Queue.Queue.queue.clear() thread-safe?

    Russell Warren, Jun 22, 2006, in forum: Python
    Replies:
    4
    Views:
    685
    Russell Warren
    Jun 27, 2006
  4. Ikkezelf

    Write message in windows message queue (msmq)

    Ikkezelf, May 2, 2006, in forum: C Programming
    Replies:
    5
    Views:
    715
    Richard Heathfield
    May 2, 2006
  5. Kris
    Replies:
    0
    Views:
    486
Loading...

Share This Page