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

ALRubinger do-not-reply at jboss.com
Fri May 16 03:55:35 EDT 2008


"wolfc" wrote : The above example is invalid. An EJB 2.1 view can't have multiple remote/local interfaces. (As per quoted spec.) 

Whoops, bad example, should look like:

@RemoteHome
  | public interface RemoteHome extends EJBHome{
  | 
  |   public RemoteInterface create();
  | 
  |   public RemoteInterface create(String whatever);
  | 
  | }	

There may be only one "create" method for SLSB, but there may be any N "create" methods for SFSB.

The logic attached in the issue should be good, even if my contrived example was bogus.

I don't see why this invalidates JBMETA-41; still need to determine the remote/local interface from the return type(s) of the home.

S,
ALR

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

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



More information about the jboss-dev-forums mailing list