GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)" Watch "Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)" New topic
Author

Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)

uj joshi
Greenhorn

Joined: Jun 07, 2013
Posts: 4
Hi all,

I want to bind my Property file (say config.properties) to NameSpace Binding in WAS admin console. Then I need to access the properties in that property file from my java code. How am I supposed to do this. I can make a String entry( location of the Property file) in NameSpace Binding option available in WAS admin console, But I don't know how can I access that property file from my java code. Please help me out with this.

Thanks and regards.
 
GeeCON Prague 2014
 
subject: Accessing a Property file using NameSpace Binding (making entry in NameSpace Binding in WAS admin)