0 Replies Latest reply on Jan 6, 2011 8:43 AM by spinner.joserodolfo.freitas.gawab.com

    Producer in no-interface beans

    spinner.joserodolfo.freitas.gawab.com

      I'm getting the error:


      Non-static method xxxxx() of a session bean class xxxxxEJB is annotated @Produces, and the method is not a business method of the session bean


      I believe that @Produces is not recognizing a public method in a no-interface session bean as a business method, and I guess it should, or not?


      Is there some aditional conf I should set to use @Produces annotation in this scenario?