Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [starter-dev] JSF for Starter UI

Do note that for each dependency (for that specific version you are using)  in the project, you need to get clearance from Eclipse Foundation (regarding IP rights)

See (what I needed to follow for the Microprofile Starter)
and (general Eclipse IP stuff)


On Mon, 28 Nov 2022 at 10:19, Ondro Mihályi <mihalyi@xxxxxxxxxxx> wrote:
Hi Bazlur,

Since we're going to have a way to host a Java web app, it now certainly makes sense to build the UI using Faces. In fact, the MicroProfile Starter app is also based on Faces:

I just want raise a little warning - since this is public facing app, we should avoid using state in Facelets. State is useful when a session is created for logged in users, but it causes unnecessary issues/exceptions when session isn't needed. I saw such issues in the MicroProfile starter, for example getting a ViewExpiredException after some time of inactivity. The MicroProfile starter always creates a session (you can see the JSESSIONID cookie set when you load the page).

Have a look at how to create stateless Facelets. More info is in Arjan's blog here: and in the spec github issue here:

Although stateless facelets are in a way more complicated to write (no Session or View scoped beans should be used), they provide a better user experience for public-facing pages that don't require a user session.

Once you create a PR, we can ask Arjan to review it. I'll ask Arjan to have a look at it and also to follow this mailing list.


On Mon, Nov 28, 2022 at 8:18 AM A N M Bazlur Rahman <bazlur@xxxxxxxxx> wrote:

Hello everyone,

I have been following Ondro and Ivo's progress closely. Superb effort.  We have an endpoint that can flush zipped files, which is great progress in making.

I was wondering if we could go ahead and do the frontend with JSF. I have started working on a prototype with primefaces. As soon as I reach a satisfactory level of development, I will raise a PR.

We could also request a makeover from the design team at the Eclipse Foundation.

Unlike _javascript_, JSF is simple and relatively trouble-free, so I decided to give it a try.  I haven't touched JSC for ages, so making the page and putting everything in place took a while. I'm still working on it; if anyone here is a JSF expert, I might reach out to you to ask a few things. 

I've attached a screenshot for now.

Please let me know what you think.

Thank you,



starter-dev mailing list
To unsubscribe from this list, visit
starter-dev mailing list
To unsubscribe from this list, visit

Back to the top