This content has been marked as final. Show 2 replies
so to be clear, we have dependency A in server X in cluster 0 and dependency B in server Y in cluster 1.
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?