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?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924906#3924906
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924906
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user