is opening and closing of factory contolled by web.xml?
- by akshay
This post is related to post InvalidStateException while trying to enter data into DB.
Do i need to put some entries in web.xml?Does web.xml control opening and closing of factory?I saw folloing entries in web.xml of another similar project .
<resource-ref>
<res-ref-name>jms/XYConnectionFactory</res-ref-name>
<res-type>javax.jms.ConnectionFactory</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Unshareable</res-sharing-scope></resource-ref>
<resource-env-ref>
<resource-env-ref-name>rep/xyAppConfig</resource-env-ref-name>
<resource-env-ref-type>java.util.Map</resource-env-ref-type></resource-env-ref>
What does this entries do?