Look at official docs, plus you can find many howtos on the internet.
http://docs.oracle.com/cd/B10501_01/appdev.920/a96587/apexampl.htm
Also have to point that AQ can act as an Java JMS provider. So in Weblogic you can use AQ as a provider of the "generic" Java Messaging System standard.