Author Archive: Johny

Java CDI Invalid DependsOn dependency

I am trying to update some content in the database at application startup. In order to do so I have created a class A which will do so. @Singleton @Startup @DependsOn({ “B”, “C” }) public class A{ @Inject B b; @Inject C c; … } B is a class which reads some configuration values from the database. B: @Singleton @Startup…
Read more