Hi, I’m new to MyEclipse, and am using it w/ XDoclet to generate an EJB Session bean, called from a web app, both part of an EAR project. I created these per a MyEclipse tutorial, and each EAR component is a separate project. I deployed to JBoxx 4.0 (by deploying each EAR component separately), and things work fine: web app classes can instantiate either remote or local interfaces to the EJB, and call its methods. This is a huge help in development since I can debug seamlessly from web app to EJB and back.
I deployed the same app to Weblogic 8.1 … and found a couple things:
— for Weblogic 8.1, XDoclet generated only the remote interfaces/support; is there a comprehensive paper to special switches for Weblogic 8.1?
— more important, after EJB is deployed to Weblogic 8.1, both remote and local interfaces are “registered”, but only the remote one seems accessible from the web app. Attempts to accss the local interface fail w/ a JNDI lookup problem. What’s more, even using Weblogic’s own console to “test” registered interfaces fails for the local interface with “The EJB xxxLocalHome has not been tested successfully. There was a problem determining the JNDI Name of the given bean.”
I would like to maintain separate projects during development, and deploy as a packaged EAR only when the app is rolled out. Is there a known workaround?
Thank you.