Right now it has this example:
<resource-env-ref>
<resource-env-ref-name>jms/StockQueue
</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue
</resource-env-ref-type>
</resource-env-ref>
Since <message-destination-ref> is the preferred way to declare queues
(StockQueue is also used as an example for message-destination-ref in
javaee_5.xsd), how about change this example to use
javax.ejb.SessionContext?
<resource-env-ref>
<resource-env-ref-name>sessionContext
</resource-env-ref-name>
<resource-env-ref-type>javax.ejb.SessionContext
</resource-env-ref-type>
</resource-env-ref>
Just a thought.
-- Cheng