On Sep 30, 2004, at 3:51 PM, karan singh malhi wrote:

Thanks Dain,

How will the match be determined? is the ejb-ref name going to match the
home interface name?

No, and ejb-ref contains the name of the home interface and remote interface (or local and local-home). Here is an example from one of my files:


    <ejb-ref>
        <ejb-ref-name>foo</ejb-ref-name>
        <ejb-ref-type>Session</ejb-ref-type>
        <home>org.acme.FooHome</home>
        <remote>org.acme.FooRemote</remote>
    </ejb-ref>

So we match using the two interfaces

Is it possible that to remove ambiguity, we could make an entry into the
geronimo dd where we could map the ejb-ref with a fully qualified name
of the home interface.

The goal is to not have geronimo dd for simple cases. If you had a geronimo dd, you could either us the target-name (JSR 77 object name of the ejb) or an ejb-link.


-dain



Reply via email to