3 Replies Latest reply on Jul 18, 2011 3:53 PM by Christian Sadilek

    Location of CDI Service beans

    Craig Greenhalgh Newbie

      I've found a problem (possible bug ?)

       

      When I have an @Application scoped @Service bean

       

      my.app.gwt.server.service.TestService.class

       

      The service is registered and is useable.

       

      However, if I move the same bean to

       

      my.app.gwt.server.service.subpack.TestService.class

       

      Then the bean is not useable anymore, lookupCallbackBean in Util returns null

       

       

      Do I need to specify the packages / subpackages to use CDI beans?

       

      Thanks

       

      Craig