HomeJar to Jar EJB references (no ear)

Introduction

Referring to beans from other Jar not included in the same Ear is not as simple as in case they are included in one Ear. There are three ways (afaik) to accomplish purpose.

Jar with referred bean

Java code

Geronimo's specific XML

Referring with @EJB(mappedName="...") + openejb-jar.xml

Referring with @EJB(name="") + openejb-jar.xml

Referring with @EJB(no name) + openejb-jar.xml