I have two deployment environments - Websphere 7.0 and Glassfish 3.1. I have to include a work manager resource reference in the web.xml of my applications for the Websphere environment like so:
<resource-ref>
<description>WorkManager</description>
<res-ref-name>wm/default</res-ref-name>
<res-type>commonj.work.WorkManager</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
However, I do not need it for GlassFish since GlassFish doesn't force the j2ee specifications about having the application server manage all the threads. (Besides GlassFish doesn't have commonj either...)
I found that there is a glassfish-web.xml for specifying additional components to the web.xml for a GlassFish-specific environment. Something like this for Websphere would be ideal.
Does an equivalent exist for Websphere?
Thanks.