SelfEmployed.com interview question

How to handle concurrency in Java EE