Swarr, Bob wrote:
> I'm testing some EJBs in both WebLogic and JBoss and worked around this
> problem by putting a serverVendor variable into the deployment descriptor.
> Here's how to do it:
Please, everyone, read the EJB spec, section 19.4.
Code your EJB implementation to use "java:comp/env/jdbc/WhateverDB".
This is portable across EJB servers. Believe me, it is.
Then, you use the vendor-specific deployment descriptor
(weblogic-ejb-jar.xml or jboss.xml) to map the name you used in the EJB
to the name the datasource is configured for in that particular server.
This shouldn't be complicated or difficult to understand. If it is,
please let us know how we can make it clearer.
Thanks,
Toby.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user