Results 1 to 6 of 6

Thread: MDB listening

  1. #1
    nipunalk is offline Member
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    0

    Thumbs up MDB listening

    Hi ,
    I am using 4 MDBs(Message Driven Bean) in my application. I notice if one MDB is busy with some of his work, Other MDBs block until that Busy MDB complete its all task .I needed to work all MDB in same frequent. Please let me know if any one have have idea.Thank in advance.

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    How did you discover this?

  3. #3
    nipunalk is offline Member
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    0

    Default MDB Listening

    We Map MDBs to Database table to avoid data disappear when Server restart.From that i can identify Only the One MDB is working and Others are block.

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    MDBs are created and pooled by the server. When a new message arrives, the server creates a new instance and allocates it to processing that message. One MDBs execution does not interfere with execution of other MDBs and certainly not with other different types of MDBs. Unless you configured some strange restrictions.
    I didn't understand the "Map MDBs to Database table to avoid data disappear" part of your response but it has a strange ring to it.

  5. #5
    nipunalk is offline Member
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    0

    Default

    sorry for inconvenience that bacause of my poor commmunication skills in English. In My Application we configure queue to Database(I can query Database and check how many in each queue).Because of that we can see only one MDB is working at a time.

  6. #6
    QkrspCmptPop is offline Member
    Join Date
    Aug 2009
    Posts
    9
    Rep Power
    0

    Default

    Quote Originally Posted by r035198x View Post
    MDBs are created and pooled by the server. When a new message arrives, the server creates a new instance and allocates it to processing that message. One MDBs execution does not interfere with execution of other MDBs and certainly not with other different types of MDBs. Unless you configured some strange restrictions.
    I didn't understand the "Map MDBs to Database table to avoid data disappear" part of your response but it has a strange ring to it.
    Right. Possible reasons of what you described is that the pooling mechanism does not work or it is configured as one MDB.

Similar Threads

  1. NIO Server: listening on client's side socket
    By carek in forum Networking
    Replies: 1
    Last Post: 12-24-2009, 07:30 AM
  2. Replies: 7
    Last Post: 11-25-2009, 11:34 PM
  3. Java server listening on given interface?
    By Joe2003 in forum Advanced Java
    Replies: 2
    Last Post: 01-26-2009, 05:14 PM
  4. Listening to a Printer
    By Mosd in forum New To Java
    Replies: 0
    Last Post: 08-12-2008, 12:21 PM

Posting Permissions

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