Hi,
I'm trying to deploy a simple ejb app with one SessionBean and one
MDB. The problem is I don't know how to write the openejb-jar.xml
file. I've looked at a few in the openejb source but I'm struggling to see
how things fit together. So far I ahve the following -
<openejb-jar
xmlns="http://www.openejb.org/xml/ns/openejb-jar"
configId="org/mule/samples/ejb"
parentId="org/apache/geronimo/Server">
xmlns="http://www.openejb.org/xml/ns/openejb-jar"
configId="org/mule/samples/ejb"
parentId="org/apache/geronimo/Server">
<enterprise-beans>
<session>
<ejb-name>SenderEJB</ejb-name>
<jndi-name>local/SenderEJB</jndi-name>
</session>
<message-driven>
<ejb-name>TcpReceiverMDB</ejb-name>
<resource-adapter>
<resource-link>org/mule/ra/Server</resource-link>
</resource-adapter>
</message-driven>
</enterprise-beans>
</openejb-jar>
<session>
<ejb-name>SenderEJB</ejb-name>
<jndi-name>local/SenderEJB</jndi-name>
</session>
<message-driven>
<ejb-name>TcpReceiverMDB</ejb-name>
<resource-adapter>
<resource-link>org/mule/ra/Server</resource-link>
</resource-adapter>
</message-driven>
</enterprise-beans>
</openejb-jar>
1. I'm not entirely sure I have everything in there.
2. for the session bean, I don't know what I should set the jndi-name
to?
3. should the resource-link on the MDB refer to the RAR config name or some
other name?
Cheers,
Ross