>commit</code> or <code>rollback</code> methods. Since both arguments are ignored, developers are
 recommended to use <code>createSession()</code>, which has no arguments, instead of this method.
 </ul>

 <p>
 In the <b>Jakarta EE web or EJB container, when there is no active JTA transaction in progress</b>:

 <ul>
 <li>If <code>transacted</code> is set to false and <code>acknowledgeMode</code> is set to <code>JMSContext.AUTO_ACKNOWLEDGE</code>
 or <code>Session.DUPS_OK_ACKNOWLEDGE</code> then the session w