[jdf-dev] Inter-module communication
Jason Porter
jporter at redhat.com
Mon Jul 2 10:44:52 EDT 2012
This is inter-module as in same EAR, different WARs? Or something else? I'm missing something here.
----- Original Message -----
> From: "Pete Muir" <pmuir at redhat.com>
> To: jdf-dev at lists.jboss.org
> Sent: Thursday, June 28, 2012 6:34:11 PM
> Subject: [jdf-dev] Inter-module communication
>
> 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.
>
> I'll write a quickstart for this next week or two.
> _______________________________________________
> jdf-dev mailing list
> jdf-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jdf-dev
>
More information about the jdf-dev
mailing list