How many values? How often do they change? Do you restart when they change? One 
approach would be to use a database, Mybatis, and a cache configuration or 
scheduler to only read the values from the database periodically or when they 
are updated.

Richard

Sent from my iPhone

On Oct 24, 2011, at 1:46 PM, Jim May <jim.webg...@gmail.com> wrote:

> I know this question is not directly associated with MyFaces, but more a
> general web application question.
> 
> What is the best practice for storing application variables that need to be
> changed once deployed to an environment? I want to use these variables in my
> application scoped bean in the JSF web project.
> 
> I was wondering what others have done. Right now, I am doing a jndi lookup
> for Strings and setting them on my application scoped bean. I feel like
> there is a better way of doing it.
> 
> Thank You,
> -- 
> James May
> Software Engineer / Architect
> http://www.jamesmay.me

Reply via email to