Search code examples
ejbwebspherejndi

how to get all jndi bindings in the webSphere


I have a websphere instance with some ejb's deployed.

How can i find out all the existing JNDI bindings available as part of the websphere instance.

I'm basically validating a feature in our product which gets all the JNDI names available. I'm trying to write the code for implementing the same for my understanding instead of debugging it.

If there is an option in webSphere to get the same that will also suffice for my requirement but I will personally want to write code and try it out.


Solution

  • WebSphere provides the dumpNamespace utility for that. Look at WAS_HOME/bin, you should find it there.