EJB programming & troubleshooting: Problem in ejb-ref and ejb-link
- Posted by: shankar gowda
- Posted on: December 26 2003 03:46 EST
i have a confusion of what should be placed in ejb-ref and what should be placed in ejb-link?
ejb-ref is a reference from your code, i.e. how you write it in the java class.
ejb-link is a name of the enterprise bean in your ejb-jar.xml. please, do not confuse this with the JNDI name of the name. in ejb-link node you use a logical name instead.