I am using DeploymentLoader to process an EJB3 annotated ejb jar and obtain
meta-data complete descriptors.  I am using @EJB annotation to inject a
session bean.  I am noticing that even though the business interface has no
@Remote annotation on it is resulting in an EjbRef rather than EjbLocalRef.
(I am examining the org.apache.openejb.jee.SessionBean object created).
Isn't EjbRef used for remote references?  If I specify @Local on the
business interface explicitly then it is resulting in EjbLocalRef.  Doesn't
absence of @Remote on the interface mean the interface is local?  Is this a
problem?  If not, what is the idea behind the way it is working now?

++Vamsi

Reply via email to