Problem in ejb-ref and ejb-link

Discussions

EJB programming & troubleshooting: Problem in ejb-ref and ejb-link

  1. Problem in ejb-ref and ejb-link (1 messages)

    hi,
    i have a confusion of what should be placed in ejb-ref and what should be placed in ejb-link?

    Threaded Messages (1)

  2. Answer[ Go to top ]

    Hello.

    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.

    regards,
    Andrew