[jboss-dev-forums] [Design of EJB 3.0] - Re: EJBTHREE-1062 and metadata

emuckenhuber do-not-reply at jboss.com
Wed May 21 12:50:36 EDT 2008


While adding the logic described in JBMETA-41 to jboss-metadata  there are now 3 tests failing, due the following:


  | package org.jboss.test.metadata.annotation.ejb3;
  | 
  | @Stateful(name="AnotherName")
  | @Remote(MyStateful.class)
  | @RemoteHome(MyStatefulHome.class)
  | public class MyStatefulBean
  | {
  |  ...
  | }
  | 
  | public interface MyStatefulHome extends EJBHome
  | {
  |    public MyStateful create(String x);
  | }
  | 
  | public interface MyStateful
  | {
  | 
  | }
  | 

So MyStateful should actually extend extend javax.ejb.EjbHome and will be the remote interface for the stateful bean - instead of a BusinessRemote? 
Or did i miss something? :)

Thanks,
Emanuel

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152434#4152434

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152434



More information about the jboss-dev-forums mailing list