11. Conclusion
Let’s summarize the work done in this document. We have presented three web frameworks: Java Server Faces, PrimeFaces, and PrimeFaces Mobile, and we have implemented them in six Java EE applications:
- 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 an EJB / Glassfish environment:
![]() |
or this one in a Spring/Tomcat environment:
![]() |
We used a layered architecture starting with the first version. This architecture was carried over into all subsequent versions. Finally, the [web] layer was implemented successively using the Java Server Faces, PrimeFaces, and PrimeFaces Mobile frameworks. It adheres to the MVC (Model-View-Controller) pattern.
It was a long process that could be improved. Upon reviewing it, I realized 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.

