title: Using grails service in domain class
body: <p>I want to use a service in my Grails application. However, it is always null. I am using Grails version 1.1. How can I solve this problem?</p>
  
  <p>Sample code:</p>
  
  <pre><code> class A{
        String name;
        def testService;
        static transients=['testService']
   }
  </code></pre>
  
  <p>Can I use a service inside a domain class?</p>