Ask questions and see you at April, 6th, 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Please keep the questions Java EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.
Hello Adam,
currently we are trying to establish continuous static code checks with SonarQube in our Java EE 7 (JBoss EAP 7.0) application. In many cases we use CDI with field Injection, without explicit defined constructor. Now we have SonarQube finding that marks all our projects as "buggy", because of this rule: Constructor injection should be used instead of field injection. If we now try to use constructor injection, the CDI container (WELD) complain on startup that the modified beans have no "non-private constructor with no parameters". According to the CDI 1.1 spec the CDI beans must have non-private constructor with no parameters. But such constructor wouldn't make sense in our application, except the requirement of CDI spec. That would mean, that the SonarQube can not be applied for CDI.