The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Hi dear Author, the BookOrderTask bean in listing 9.5 has an APPLICATION scoped BookFeed bean field. The BookFeed bean in listing 9.6 however does not synchronize on the methods such as addApprovedIsbn(). This means BookOrderTask.approve() method not threadsafe. Is that right statement?
Hi Tijs, thanks for the reply. I am currently evaluating Activiti but some team member is using jBPM5. So far I am happy with Activiti. One important aspect to verify is the concurrency handling since BPMN implementation abstracts out lots of the details. So I started reading thebook a second time with that in mind and that is how I thought of discussing the above finding. I agree your example choose the easy implementation but it would make things correct if we at least use a synchronized list. smilie