August 2018
Intermediate to advanced
314 pages
8h 9m
English
An event in CDI and an asynchronous EJB method have the similar characteristic of making a nonblocking call to a task. Furthermore, the client can cancel and monitor the invocation of an asynchronous process. However, an asynchronous EJB method and an event in CDI don't share all the same characteristics. The principal difference between them is that the asynchronous EJB method works on a one-to-one basis between the caller and the called. This is because when this method is invoked, it will only process the task and the client knows what the method is that will be processed. On the event in CDI, the relationship between the caller and the called is one-to-many. This is because ...
Read now
Unlock full access