Link Details

Link 1060125 thumbnail
User 1188717 avatar

By data4j
via data4j.org
Published: Nov 04 2013 / 11:07

Contexts and Dependency Injection(CDI) is the Java standard for dependency injection and contextual lifecycle management. It comes with JSR-299. JBoss Weld, the JSR-299 Reference Implementation (RI), is being developed as part of the Seam project. This article shows how to distribute CDI beans by using Coherence. In the following sample application, a new cluster called DATA4J has been created with two nodes and a CDI bean is distributed by using a cache object called user-map. Used Technologies : JDK 1.7.0_40, Weld 1.1.14.Final, Coherence 3.7.1 and Maven 3.0.4
  • 7
  • 0
  • 921
  • 756

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java