This content has been marked as final.
Show 2 replies
-
1. Re: injecting a dependency from a remote server
asookazian Jul 11, 2011 6:21 PM (in response to asookazian)so to be clear, we have dependency A in server X in cluster 0 and dependency B in server Y in cluster 1.
-
2. Re: injecting a dependency from a remote server
asookazian Jul 12, 2011 1:56 AM (in response to asookazian)From the CDI spec:
The unrestricted set of bean types for a session bean contains all local interfaces of the bean and their superinterfaces. If the session bean has a bean class local view, the unrestricted set of bean types contains the bean class and all superclasses. In addition, java.lang.Object is a bean type of every session bean. Remote interfaces are not included in the set of bean types.
So if the object is remote, must we expose/consume web services (SOAP/REST) rather than simply use @Inject?