0 Replies Latest reply on Apr 8, 2005 5:21 PM by Wei Jiang

    context.listBindings("") bug?

    Wei Jiang Newbie


      I want list all jndi names. When context.listBindings("") is called from a stand-alone client, if an ejb class is not on CLASSPATH, there will be an exception, the methord does not return anything.

      I see there are two problems:
      1. listBinding("") shoud list jndi names only, should not try to construct the
      object. Some ejb classes may not on CLASSPATH, some objects, say
      jdbc related ones, may be not applicable for remote clients.
      2. If you really want construct that object, listBindings("") should return
      as many jndi names as possible, ignore the ones it can not construct.