2 Replies Latest reply on Apr 26, 2017 9:09 AM by claudio4j

    CDI weld and Guice Question?

    hemanthkolla

      Hi,

             Does any one know if there will be any conflicts between Google Guice and CDI weld, if I am using CDI weld as the primary dependency subsystem and  my ejb program indirectly depends on some of the classes of Guice ?

       

      Thanks

        • 1. Re: CDI weld and Guice Question?
          tremes

          Hi,

          It's hard to say in general. I don't know Guice much, but since you don't use its Injector it shouldn't probably cause any problems. I guess if you don't mix both frameworks it will be likely ok.

          T.

          1 of 1 people found this helpful
          • 2. Re: CDI weld and Guice Question?
            claudio4j

            The main problem could be the lifecycle of your application, each injection framework may invoke events or calls on different moments of your application. If the dependency of guice is only to load classes and do not use the guice injection it would be ok.

            1 of 1 people found this helpful