August 2018
Intermediate to advanced
314 pages
8h 9m
English
As an example of implementing an asynchronous REST service, we will use the same scenario used in the example of the event in the CDI and the asynchronous EJB method. Here, we will create an application that makes it possible to upload three types (or extensions) of files—ZIP, JPG, and PDF extensions. Depending on the extension received, we want the file received to be kept in its respective directory on the filesystem. To develop this example, we have the following classes:
Read now
Unlock full access