Hi Taher,
I agree, the higher the better. BTW the executor framework has already been used to replace the OOTB jobs handling.
We could still use the annotations where they fit. Brian Goets recommends it, and from documentation and maintenance perspectives I understand why!
Jacques
Le 02/08/2016 à 16:10, Taher Alkhateeb a écrit :
> Hi Jacques,
>
> I noticed in the base component that the way we handle concurrency is very
> low level and we are not utilizing java.util.concurrent properly. Managing
> locks and thread synchronization is an absolute pain, and I think we should
> move towards utilizing the executor framework, queues, and other higher
> level concurrency tools. So, I would suggest to one-up the annotations
> solution by refactoring to utilizing the higher level java.util.concurrent
> classes instead.
>
> Taher Alkhateeb
>
> On Tue, Aug 2, 2016 at 4:43 PM, Jacques Le Roux <
>
[hidden email]> wrote:
>
>> Hi,
>>
>> I'm still re-reading Brian Goets's excellent book on concurrency in Java.
>> I have added the book on our books wiki page. BTW, I think we could
>> renovate this list...
>>
>> I was also wondering if we should adopt Brian's recommended practice for
>> concurrency annotations in Java code
http://jcip.net/annotations/doc/>>
>> I don't think we ever spoke about this topic.
>>
>> Thanks
>>
>> Jacques
>>
>>
>>