4 Replies Latest reply on Oct 2, 2008 5:37 PM by Dieter Cailliau

    EJB3 Injection and HA-JNDI

    Ben Dinnerville Newbie

      Hi All,

      When using EJB3, do you need to instruct the container to use ha-jndi to obtain / inject ha / clustered instances or does it do it automatically. If you do need to instruct the container to use ha-jndi / clustered instances (and hence, load balancing / fail over policies), how do you go about it? Is it annotation based or do you need to provide configuration some other way ?

      What i am referring to is the use of either the @EJB or @Resource to inject session beans or JMX objects.

      Cheers,

      Ben