Is there any justification in creating a cache that maintains values pulled from a given property file so that your app does not have to continually getProperty() on the same property over and over again?

Luc-André Essiambre

The getProperty itselt is not a performance issue, because the Properties class inherits directly from a Hashtable. Just make sure your are not calling the load method each time you fetch a property value.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact