Is there a way to perform a communication between WARs within an EAR deployment archive in such a way that it would be possible not just to make usage of JSF Managed Beans (annotated as @ManagedBean
or @Named
) as well as Facelets resources from one WAR to another and vice-versa?
The JEE container used is the Wildfly 12.
Our project's structure is similar to the following one:
- EAR
- A.war
- B.war
- ejb.jar
I've read some articles mentioning the shared session configuration inside jboss-all.xml file descriptor.
Some other articles suggests the ear-subdeployments-isolated usage set to false
in the jboss-deployment-structure.xml file descriptor.
Are there other ways to achieve that rather than the suggestions above? More over, is that possible to achieve such communication?
Thanks.