title: Instantiate ejb like a normal class
body: <p>I´m developping a Java Web Application.</p>
  
  <p>I have this class:</p>
  
  <pre><code>@Stateless
  public class A {
  
  void makeSomething();
  
  }
  </code></pre>
  
  <p>Now I call this class in another class (I have two approaches):</p>
  
  <pre><code>@Stateless
  public class B {
  
  Method 1:
  
  A a =new A();
  a.makeSomething();
  
  Method 2:
  
  A a =new A();
  a.makeSomething();
  
  or
  
  
  @EJB 
  A a;
  
  Method 1:
  
  a.makeSomething();
  
  Method 2:
  
  a.makeSomething();
  
   }
  </code></pre>
  
  <p>My Web Application has a lot of requests. In a concurrency world what´s the best way to Instantiate class A?</p>