 web or EJB container then the behaviour of the session 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>The session will be non-transacted and received messages will be acknowledged automatically using an
 acknowledgement mode of <code>JMSContext.AUTO_ACKNOWLEDGE</code> For a definition of the meaning of this acknowledgement
 mode see the link below.
 </ul>

 <p>
 In a 