java - Accessing application data -


i using static fields store application data, standard way or there other way do?

in detail : first want read settings db , store in variables , use through out application in classes. right using static fields standard way

static fields used store class level information not object level. if u need sote value on class level use static varialbe else use instance variable.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -