The reason either one can be returned is because StdServerSession supports 
using a JMS provider that does not implement XASessions.

Regards,
Hiram

>From: "Scott M Stark" <[EMAIL PROTECTED]>
>Reply-To: "Scott M Stark" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [JBoss-dev] Why to we return the Session rather than XASession in 
>StdServerSessi
>Date: Wed, 12 Dec 2001 22:11:55 -0800
>
>Why to we return the Session rather than XASession in StdServerSession
>getSession method? I can't find a requirement for either one in the specs,
>but it would seem that the XASession would be the better choice as the
>underlying QueueSession or TopicSession can be obtained from the
>XAQueueSession or XATopicSession, but the reverse is not true.
>
>
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to