my scenario: java 8 stream api, developers have possibility process collection via streams normal , parallel (using multiple threads). in java ee environment, should avoided → is discouraged using java 8 parallel streams inside java ee container? other sources:
the current consensus among java™ ee engineers parallelization of bulk operations revert sequential processing in ee container. http://coopsoft.com/ar/calamity2article.html
will sonarqube provide rule, or how setup custom rule that, detect, warn or inform developers, shall not used parallel streams on java ee application server, runs under java 8, hence code reviews not possible.
it seems there isn't such rule available. , no custom rules (based on regexp or else) configured via user interface.
but write own java plugin set of custom java rules. simple example (by sonarsource) available on github. looks quite simple provide own rule. may worth it.
Comments
Post a Comment