title: Using static methods in enterprise application in JAVA
body: <p>I am working on a Enterprise java application which is essentially a HTTP server. There I need to use some constants and sort of utility functions for parsing, file I/O etc. I have used static methods and variables for this purpose, but someone pointed out to me that using static for this purpose is a bad choice since from performance and memory point of view.</p>
  
  <p>While I do not agree with this argument, I also do not see any other choice. Even if I convert them to instance methods, and access through a singleton instance, the instance will be accessed by some static function.</p>
  
  <p>So, I want to know if this is really a problem. And If it is, what is the best approach to fix it?</p>
  
  <p>Thanks in advance. </p>