Starting with JEE 6 and EJB 3.1 specification, Oracle introduced an @Asynchronous annotation. JEE 7 has not brought any changes in this matter, and in both these versions, an @Asynchronousmethod might return a Future object. In this blog post we will have a look at how misleading its cancellation is, and what the possible solutions to address the problems that arise are. Introduction As an example, we will be generating UUIDs. Let’s say, we would like to have a background thread that is …
Social Profiles