In my web app, I have various scenarios where I read from Properties files to obtain information, such as JDBC pooling configurations, etc. Does anyone know of a clever way to load these properties files once and cache them, so that I won't have to hit the hard drive each time to obtain the the properties when they are needed? Thanks in advance!
I�ve never done this but I think you can create a class and populate it with final static fields representing your configurations and than you can acces its fields using NameOfClass.field this must be much faster than hiting the disk all the time. I hope it helps.