Jakarta Portlet Progress/Examples with JSF?

With the new CE version of liferay on the horizon, I’m looking into what needs to be prepared for upgrading our instance.

For most things I don’t expect real problems. I expect the normal assortment of breaking API changes that are in each liferay update, but that looks doable.

Bigger issue: As Liferay transitions from JavaEE as the basis to JakartaEE we need to port our java side developments. For our microservices this was mostly updating dependencies and replacing references to javax.* with their jakarta.* replacements. What I’m missing is info about the development of Portlets and specially with Jakarta Faces.So are there examples of Jakarta Faces (i.e. the jakarta successor of JSF) portlets or documentation out there?

2 Answers

2

We are still finalizing our JSF Jakarta support and expect to have documentation available along with the Liferay release.

Portlets will move to the Portlet 4.0 specification, which has the same behavior as Portlet 3.0, but with the Jakarta packages and alignment with Servlet 6.0. See additional details at Upgrading to Jakarta - Liferay Official Documentation - Liferay Learn

Thanks for the confirmation. I kind of hoped, that I just overlooked the relevant releases, but is good to know that it is still on the table.

Now that Liferay 2026 Q1 is released, are there any news/a timeline on JSF support? Thanks!

what is the benefit to use JSF in Liferay ?

We have several portlets implemented using Primefaces. These portlets have a long history and most need updates of dependencies now and then, some get new features/bugfixes but in general they just work. For the why: at time of writing of the portlets the technology was state of the art. The big benefit of the Java based ecosystem is the bigger stability of the develop compared with other environments. Even the javax -> jakarta transition was for microservices basicly bumping deps to their jakarta versions and doing a search-and-replace op. We gain nothing with useless rewrites.