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

emuckenhuber do-not-reply at jboss.com
Wed May 21 17:54:28 EDT 2008


Yeah i read that too - maybe that's why i'm confused :) 
so let me rephrase my question:

1) In this case we have MyStatefulBean -> MyStatefulHome -> MyStateful.
As we define a RemoteHome, the MyStateful interface must extend the EJBObject?

2) then we have 4.6.6 where they say: The interface must not extend the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface.
Which more or less means that a business interface can't be a Session Bean's Local or Remote Interface? 

The actual problem i have is - after adding the functionality from the ProxyFactoryHelper to metadata - it should be that MyStateful extends EJBObject as it would be set as Remote interface.
But then the @Remote business interface would also be the remote interface.

Just wanted to ask how this should be handled correctly, as i don't want to break stuff :)


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

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



More information about the jboss-dev-forums mailing list