is opening and closing of factory contolled by web.xml?

Posted by akshay on Stack Overflow See other posts from Stack Overflow or by akshay
Published on 2010-12-31T06:49:41Z Indexed on 2010/12/31 6:53 UTC
Read the original article Hit count: 199

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about java

Related posts about jpa