DaWickedRebel
Programmer
Hi
Was wondering if anyone has had any experience and/or success using Oracle Advanced Queues in a 3-tier architecture.
I have a system where currently client machines make a DB Connection, register to an Oracle queue, and dequeue locally.
What I'd like to do is create a Data Access Layer where we can pool connections from a central location and not have our clients talking to the DB directly. Clients would ask the DAL for information, and the DAL would return that information.
The problem is our clients need to receive 'Live' updates whenever certain events occur (we currently 'poll' the queue every 2 seconds, updates are frequent).
I'd appreciate any advice on how to manage the consumers from the DAL. Do I need to have a queue of my own in the DAL where I manage who is connected? Is there a simpler way to handle consumers and to push messages to the clients?
I hope my question is somewhat clear. Thanks for any advice you might have.
Rich
Was wondering if anyone has had any experience and/or success using Oracle Advanced Queues in a 3-tier architecture.
I have a system where currently client machines make a DB Connection, register to an Oracle queue, and dequeue locally.
What I'd like to do is create a Data Access Layer where we can pool connections from a central location and not have our clients talking to the DB directly. Clients would ask the DAL for information, and the DAL would return that information.
The problem is our clients need to receive 'Live' updates whenever certain events occur (we currently 'poll' the queue every 2 seconds, updates are frequent).
I'd appreciate any advice on how to manage the consumers from the DAL. Do I need to have a queue of my own in the DAL where I manage who is connected? Is there a simpler way to handle consumers and to push messages to the clients?
I hope my question is somewhat clear. Thanks for any advice you might have.
Rich