Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-677

EJB3 deployments should be bound with rebind instead of bind

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EJB 3.0 RC9 - FD
    • EJB 3.0 RC8 - FD
    • None
    • None

      Using bind instead of rebind may cause trouble when the JNDI implementation is persistent (e.g. in an ldap directory) because deploying a previously crashed application will fail.

      I know that the current situation can also be seen as a feature because the developer cannot deploy two different beans with the same jndi name but this has in my opinion a lesser priority. Further the ejb 2.x stack uses rebind too.

      The request http://jira.jboss.com/jira/browse/EJBTHREE-51 describtes to use Util.rebind() but in fisheye I saw Util.bind().

              wdecoste1@redhat.com William Decoste (Inactive)
              wv-javacoder Roland Räz (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: