0 Replies Latest reply on Feb 19, 2006 1:40 PM by mazz

    generated hibernate DAO missing remote/local interfaces

    mazz

      I'm using the latest JBoss-IDE - specifically the Hibernate Console's code generation feature. I elect to generate DAOs. While they are annotated as @Stateless, what's missing is their remote and/or local interface definitions (they are not generated).

      Example:

      @Stateless
      public class MemberHome {
      ...
      }
      


      When I attempt to deploy my ear (built strictly from the generated code) in JBossAS 4.0.4RC1, I'm getting the following error:

      WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=mazz-ejb.jar
      java.lang.RuntimeException: bean class has no local or remote interfaces defined and does not implement at least one business interface
      


      Am I missing something?