We develop using Eclipse and
Tomcat and then deploy to Websphere. We are trying to use
JDBC from Websphere. To do this we have to edit the ibm-web-bnd.xmi and add
<?xml version="1.0" encoding="UTF-8"?>
<com.ibm.ejs.models.base.bindings.webappbnd:WebAppBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.ejs.models.base.bindings.webappbnd="webappbnd.xmi" xmi:id="WebAppBinding_1204038443298"
jndiName="jdbc/medtrn" virtualHostName="default_host">
<webapp href="WEB-INF/web.xml#WebApp_1204038443298"/>
</com.ibm.ejs.models.base.bindings.webappbnd:WebAppBinding>
Is there a way for Eclipse to generate this file of something we can add to web.xml to avoid this?
I have seen some things that add resource-ref to the web.xml.
Thanks in advance,
Tom