# EJB find handler: ejb-finder

<span class="notranslate">Handles the method to retrieve business objects via a stateless session bean.</span> <span class="notranslate">Supports the following attributes:</span>

<div id="bkmrk-attribute-usage-jndi"><table class="confluenceTable tablesorter tablesorter-default stickyTableHeaders" role="grid"><thead class="tableFloatingHeaderOriginal"><tr class="tablesorter-headerRow" role="row"><th aria-disabled="false" aria-label="Attribute: No sort applied, activate to apply an ascending sort" aria-sort="none" class="confluenceTh tablesorter-header sortableHeader tablesorter-headerUnSorted" data-column="0" role="columnheader" scope="col" tabindex="0"><div><div>**Attribute**</div></div></th><th aria-disabled="false" aria-label="Usage: No sort applied, activate to apply an ascending sort" aria-sort="none" class="confluenceTh tablesorter-header sortableHeader tablesorter-headerUnSorted" data-column="1" role="columnheader" scope="col" tabindex="0"><div><div>**Usage**</div></div></th></tr></thead><tbody aria-live="polite" aria-relevant="all"><tr role="row"><td class="confluenceTd">jndi

</td><td class="confluenceTd">JNDI path to EJB Home interface

</td></tr><tr role="row"><td class="confluenceTd" colspan="1">method</td><td class="confluenceTd" colspan="1">EJB Bean method to get business objects</td></tr><tr role="row"><td class="confluenceTd">if

</td><td class="confluenceTd">EL expression that must be evaluated to true prior to handler action

</td></tr><tr role="row"><td class="confluenceTd">unless

</td><td class="confluenceTd"> EL expression that must be evaluated to false prior to handler action</td></tr></tbody></table>

</div><span class="notranslate">Additionally, it can specify one or more parameters in a way similar to the ejb-handler methods</span>

<span class="notranslate">ejb-finder example</span>

```western
<datanode name="country">
        ...
    <finder name="cities" type="city" >
        <ejb-finder jndi="com.soffid.sample/CitiesBean" method="findByCountry">
            <parameter value="${instance.abbreviation}"/>
        </ejb-finder>
    </finder>
        ...
</datanode>
```