An example ejb-jar.xml that shows how to override an @ejb reference.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | |
http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd" | |
version="3.1"> | |
<enterprise-beans> | |
<session> | |
<ejb-name>ReferencingBeanName</ejb-name> | |
<ejb-local-ref> | |
<ejb-ref-name>referencing.bean.pkg.ReferencingBean/fieldStoringReferencedBeanProxy</ejb-ref-name> | |
<ejb-link>ReferencedBeanName</ejb-link> | |
</ejb-local-ref> | |
</session> | |
</enterprise-beans> | |
</ejb-jar> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment