[
https://issues.jboss.org/browse/JDF-49?page=com.atlassian.jira.plugin.sys...
]
Pete Muir commented on JDF-49:
------------------------------
One topic that came up repeatedly at JBossWorld was inter-module communication using CDI.
Jason came up with good pattern to address this, short term, involving EJB singletons,
JNDI, and CDI producer fields. In A.jar, we expose the service using @Singleton. In B.jar,
we write an alias using a CDI producer field, that uses JNDI to lookup the EJB reference.
This allows us to cleanly declare what should be exposed, will work today, and preseves
the CDI programming model on both sides.
Add a inter-JBoss-Module quickstart
-----------------------------------
Key: JDF-49
URL:
https://issues.jboss.org/browse/JDF-49
Project: JBoss Developer Framework
Issue Type: Feature Request
Reporter: Pete Muir
Assignee: Pete Muir
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira