This discussion is archived
9 Replies Latest reply: Nov 19, 2012 12:08 PM by Alexandar RSS

web.xml reference of ejb located in adf library?

Alexandar Journeyer
Currently Being Moderated
Hi all,
JDev version 11.1.2.1

How can I reference ejb from other adf appliccation imported as adf library?
When I drag and drop method from data control imported from adf library, new entry in web.xml is added like
<ejb-local-ref>
    <ejb-ref-name>ejb/local/MySessionEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>path.in.package.MySessionEJBLocal</local>
    <ejb-link>MySessionEJB</ejb-link>
</ejb-local-ref>
I read documentation chapter 38 Reusing Application Components from Fusion Developer's Guide for ADF about reusing components, but having problem when deploying.
The ejb-link 'MySessionEJB' declared in the ejb-ref or ejb-local-ref 'ejb/local/MySessionEJB' in the application module 'ViewControllerWebApp.war' could not be resolved.
The target EJB for the ejb-ref could not be found. Please ensure the link is correct.
Thanks in advance

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points