DEV Community

Ramiro for Auth0

Posted on • Edited on • Originally published at auth0.com

Developing Robust Web Apps with JavaServer Faces and Java EE

To see JavaServer Faces and Java EE in action, in this article, you will build a simple microblog web application. Visitor of your application, without having to authenticate themselves, will be able to see every publication that your users add. However, to share their thoughts through the app, first, visitors will have to authenticate themselves through Auth0. The goal here is to have a sample application that is both complete (in the sense of having public and protected views) and easy to grasp (without complex and long source code).

Read on 🚀

Developing Robust Web Apps with JavaServer Faces and Java EE

Top comments (4)

Collapse
 
matthewekeller profile image
matthewekeller

I really dislike JSF. It has a horribly overcomplicated lifecycle. If you want to use a manageable intuitive JEE framework use Spring MVC or Struts 2

Collapse
 
lexiebkm profile image
Alexander B.K.

I am still learning Java towards Java EE aka J2EE. Does Spring use J2EE in its core, such as javax.servlet package ? I am a bit confused with the change from J2EE to Jakarta EE, esp the rename of the package names.

Collapse
 
matthewekeller profile image
matthewekeller

Yes, Spring is based on JEE. As far as I know, they just decided to take the 2 out of J2EE so that a standard didn't have the version baked into the name. The package renaming thing is odd. Last time I looked Spring 5 didn't run on Tomcat 10 because of this. Maybe this is because everyone is using Spring Boot now. Not sure. I am still using java 8 and Tomcat 9 for everything.

Thread Thread
 
lexiebkm profile image
Alexander B.K.

Thanks for your reply.
I am also using JDK 8, although I have downloaded JDK 11 (but not installed yet) before Oracle announced licensing for it and newer versions.