You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a simple JSF application for managing documents (or integrate the following functionalities into an existing application). The application will allow the following:
The possibility to upload a document (for guests) and to view all uploaded documents (for admin). Each uploaded document will have a uniquely generated registration number. All submissions will be logged in a text file.
Use Contexts and Dependency Injection (CDI) for:
the management of application's beans;
decoupling the components using dependency injection (for example, producer methods);
decoupling orthogonal concerns, such as logging;
decoupling bussines concerns, such as verifying the date for operations like registration and submission;
data validation, using Bean Validation annotations;
implementing at least one event-based comunication (for instance, whenever a new document is uploaded a message is produced and all observers of this type of event will be notified).
Java Technologies Lab11
Web Services
Create RESTful Web services using JAX-RS that allow the interaction with at least one JPA entity, implementing CRUD operations. For example, the application may offer the following:
adding a new document and deleting an existing document from the database (RestService);
Use XML or JSON for representing consumed or produced data.
Java Technologies Lab12
Java EE Security
Add security features to the application created in the previous lab, using standard mechanisms offered by Java EE for: