Hi all,
I'm using Hibernate tool in Eclipse v3.2.0.beta6a
I used the DAO exporter of "Hibernate Generation Code..." in order to generate DAO classes.
It generated something like :
Code:
@Stateless
public class PublicationstatusHome {
...
}
But when I deployed it, I got
Quote:
bean class has no local, webservice, or remote interfaces defined and does not implement at least one business interface
In order to fix this issue I created a local interface and implements it in the generated class.
Code:
@Local
public interface PublicationstatusLocal {
...
}
@Stateless
public class PublicationstatusHome implements PublicationstatusLocal {
...
}
So does it mean that the DAO exporter produces invalid classes or that I have missed something ( configuration, understanding, ... ) ?
Thanks in advance for the feedback
Christophe Laumond,
M-ITC Ltd,
Mauritius