11. Conclusion
Let’s summarize the work covered in this document. We have presented three web frameworks: Java Server Faces, Primefaces, and Primefaces Mobile, and we have implemented them in six Java applications EE:
- 01: JSF / EJB3 / Glassfish,
- 02: JSF / Spring / Tomcat,
- 03: PF / EJB3 / Glassfish,
- 04: PF / Spring / Tomcat,
- 05: PFM / EJB3 / Glassfish,
- 06: PFM / Spring / Tomcat.
The architecture of the sample application was as follows in a EJB / Glassfish environment:
![]() |
or this one in a Spring / Tomcat environment:
![]() |
We used a layered architecture starting with the first version. This was carried over to all subsequent versions. Finally, the [web] layer was successively implemented using the Java Server Faces, Primefaces, and Primefaces mobile frameworks. It follows the MVC model (Model-View-Controller).
This was a project that could be improved. Upon review, I discovered that some of the choices made were not necessarily the best. I leave it to the reader to make this document their own and then build upon it.

