[jboss-dev-forums] [Design of POJO Server] - Re: Java EE inter-module accessibility for Web Beans
pete.muir@jboss.org
do-not-reply at jboss.com
Mon Jul 27 12:51:50 EDT 2009
"alesj" wrote : I'm missing a way to get all EJBs per this BDA.
| e.g. per Module and per URL/jar --> how to get EJBs, as definition might be split: interfaces in one jar, impl in another
"wolfc" wrote : Interfaces are always accessible on the CP for EJB impls. The BDA containing the EJBs should have no trouble returning them.
The dependence is on the EJB, not it's interface definition. In practice, this means they should be defined as present in the BDA which defines their implementation, as Carlo says. If the interface isn't loadable by the impl, then you have a classloading problem anyway, and you won't get as far as starting WB.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246248#4246248
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246248
More information about the jboss-dev-forums
mailing list