dev@glassfish.java.net

resource-env-ref example in javaee_5.xsd

From: Cheng Fang <Cheng.Fang_at_Sun.COM>
Date: Thu, 23 Mar 2006 12:24:23 -0500 (EST)

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