er this method is called in a Java SE
 environment, in the Jakarta EE application client container, or in the Jakarta EE web or EJB container. If this method is
 called in the Jakarta EE web or EJB container then the effect of setting the <code>sessionMode</code> argument also depends
 on whether or not there is an active JTA transaction in progress.

 <p>
 In a <b>Java SE environment</b> or in <b>the Jakarta EE application client container</b>:
 <ul>
 <li>If <code>sessionMode</code> is set to <code>JMSCont