Here's a good article on Oracle Advanced Queues (AQ). The article talks about the basics of a queue and goes on to explain how this is implemented in Oracle's AQ. There's also a basic explanation about Oracle's JMS interface to AQ.
http://www.akadia.com/services/ora_advanced_queueing.html