0 Replies Latest reply on Nov 15, 2001 2:40 AM by Vincent Harcq

    One unique ejb-jar in 2 ear

    Vincent Harcq Newbie

      I don't see in the spec why it would not be possible to deploy one given ejb-jar in 2 different ears. For example a Address.jar deployed in Sales.ear and Purchase.ear.
      All links to Address.jar would be made using local interfaces, I mean Address.jar will not have any remote interfaces. That is have nothing in global JNDI.
      It is not possible for the moment as the Global JNDI is feed at each EAR deployment (AlreadyExistException)
      So questions :
      - Is it allowed to do what I proposed ?
      - Is this problem linked to the J2eeGlobalScopeDeployer that I see more on a ClassLoader level ?