users@glassfish.java.net

Is it possible to create a custom Properties resource without the command

From: <forums_at_java.net>
Date: Tue, 31 May 2011 15:01:34 -0500 (CDT)

We have a java.util.Properties custom property, and I want to know if it is
possible to have this pulled from a file location, and created when the
application starts? I don't want each developer to have to create this
within their own Glassfish admin in order to get it to work. We're using it
like such in the code:

 

Properties properties = (Properties) new
InitialContext().lookup("properties")


--
[Message sent by forum member 'hal10001']
View Post: http://forums.java.net/node/808014