A message-driven bean is similar to a JMS consumer. However, it has a number of advantages over a normal consumer in addition to being an EJB.
Q2:
What is the sequence of steps for creating the queue connection, queue session, and queue in a point-to-point application?
A2:
First, look for the WebLogic JNDI factory. Then, look for the JMS factory configured on your WebLogic Server. Finally, create a queue connection, a queue session, and a queue, in that order.