-
1. Re: IIOP-implementation for EJB 3.0 not standard-compliant?
wolfc Sep 26, 2006 2:43 AM (in response to marvin655321)Within the EJB3 specs there is a distinction between a business interface and a remote interface (for session beans chapter 4.6.6 vs 4.6.7).
A business interface must not extend EJBObject, a remote interface must extend EJBObject.
IIOP interoperability only works on remote interfaces (chapter 15), thus they must extend EJBObject.
Note: the specs only allow for EJB 2.1 remote client view beans, but with the current implementation no EJBHome is required for stateless and service beans. -
2. Remote business interface which extends EJBObject within imp
marvin655321 Sep 26, 2006 3:11 AM (in response to marvin655321)Hello,
The difference between remote interfaces and remote business interfaces is absolutely clear to me. I also understood that a remote interface must extend EJBObject while this is permitted for remote business interfaces (must not extend). The point was that with the annotation javax.ejb.Remote remote business interfaces are declared and not remote interfaces. I came to this conclusion by reading the chapter of the standard mentioned by you (4.6.6 and 4.6.7) as well as the API-specification regarding the annotation at http://java.sun.com/products/ejb/docs.html which is referenced from your site and belongs to the standard AFAIK. Therefore the implementation mentioned in my first posting would be not standard-compliant because it declares a remote business interface which implements EJBObject. Will this be changed in the near future?
Best regards,
Jens