title: Use static method or not?
body: <p>Hi i have a web service in java, in which i have a class that has different methods that modify the string that the client sends and return it back according to the type of sting he wants. So based on the string type requirement a method is called..</p>
  
  <p>like</p>
  
  <pre><code>class Test{
  
  public static String a(String z)
  {
   // do stuff and return;
  }
  
  
  public static String b(String z)
  {
   // do stuff and return;
  }
  }
  </code></pre>
  
  <p>so if an array of like 10000 requests comes, these methods are called 10000 times, i want to know that should these methods be taken as static or NOT(i should create a global object of this class in my main web service class and call these methods) ?</p>