Hello List, I'm running into a problem using CFMX7 enterprise on weblogic to call an EJB deployed in the same instance of weblogic (so it's running in the same JVM), but in a different application (so it's loaded by a different classloader). The basic problem is that i can't pass objects that i create in CF to the EJB - the call fails with a NoSuchMethodError because (i'm speculating here) the object that i'm passing was loaded with a different classloader than the one "expected" on the other side (If the EJB is deployed in a different instance of weblogic, then everything works as advertised, but that's not an option for me. Likewise if the EJB is deployed in the same app as cf.).
So far, i'm getting around this by having the EJB give me empty instances of the objects in question, which i then populate with data and return to the EJB, but this has the nasty side effect of adding all kinds of getX() methods to the java API, which i have to "share" with java developers writing "regular" java web apps (which have no problem whatsoever doing what i'm trying to do). I've looked into creating a pojo business delegate (a simple object that sits between cfmx and the ejb in question, and handles things like lookups) but i'm running into the same problems - i can look up an EJB but i can't pass objects i created to it. Has anybody here achieved what i'm trying to do? Any pointers or hints, even just "it worked fine for us", would be much appreciated. Thanks for your time, /t ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219344 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

