Anybody have any experience using the Name space binding in Websphere App server 5.1.2? I have a URL that needs to be shared in an ear file between several apps. The URL will change between development and production and I'm looking for a way to set that once on the server instead of manually changing it like we currently are. I've entered the admin console Environment --> Naming --> Name Space Bindings and am selecting the String binding type and using the name space ascpaString. I try to call it with:
.. or something similar depending on the string context I use. There's plenty of documentation on what Name Space is but nothing on how to use it. Any help or alternative suggestions would be greatly appreciated.
Joined: Mar 14, 2001
Well I posted this just a bit too early. I tried calling the binding using:
I am trying to use Name Space Binding (Binding Type � String) to access WebSphere Variables from EJB.
For example: At WebSphere application server, JAVA_HOME is defined at (Environment -> WebSphere Variables) as
I would like to retrieve value of JAVA_HOME variable from EJB running within this application server.
Here is what I am attempting to do: At (Environment -> Naming -> Name Space Bindings), I defined new Name Binding of String type. Binding Type � String Binding Identifier - SOME_NAME_ID_01 Name in Name Space - SOME_NAME_01
String Value = �Some Text�
I can access String Value.
But, how String Value should look like in order for me to access value of JAVA_HOME?
subject: Name Space Binding - String problem in 5.1.2