title: Where should I put @EnableAsync annotation
body: <p>I need to send a email in async way while saving the data into DB.</p>
  
  <p>My approach was like this.</p>
  
  <pre><code>//I have tried with service layer annotating.But not worked. 
  @EnableAsync 
  class MyService{
   public String saveMethod(List listOfData){
      mail.sendEmailQuote(listOfData);
      mail.sendEmailWorkflowTaskAssignment(listOfData);
      myDao.saveData(listOfData);
   }
  }
  </code></pre>
  
  <p>I need to perform following methods in @Async way. Where should I put @EnableAsync annotation. This is not a Schedule related thing. This is happen when user click save button. Application is used flex spring blazeDS. There is no controller written by my self.</p>
  
  <p>I have used @Async annotation in my code for following 2 methods. Those are in class call Mail.</p>
  
  <pre><code>@Async
  sendEmailQuote(listOfData){}
  
  @Async
  sendEmailWorkflowTaskAssignment(listOfData){}
  </code></pre>
  
  <p>Could you help me to find where should I put @EnableAsync ? </p>
  
  <p><a href="https://spring.io/guides/gs/async-method/" rel="noreferrer">I refer this sample</a> </p>