JavaServer Faces (JSF) is a model-view-presenter framework typically used to create web applications. Using the standard components and render kit, stateful HTML views can be defined using JSP or Facelets tags and wired to model data and application logic.

learn more… | top users | synonyms

10
votes
2answers
2k views

Efficient way of sorting a List based on multiple properties using Google Guava

I'm using Google Guava 17.0 library. I have a class named AroundBust containing only two properties id of type ...
5
votes
1answer
1k views

Survey program using JSF and Ajax

I'm new to AJAX and am trying to learn by myself with a small test: It's a survey with 3 questions. I would like to know if I'm using AJAX the correct way, before starting bigger projects. Here is ...
3
votes
1answer
142 views

Filter to block duplicate POST submission on server side

I am working on a JSF 1.1 webapp. Lots of POST request take some time and users have the bad habit of clicking again when it takes too long. I am planning to target all the long running processes and ...
1
vote
1answer
603 views

Simple guestbook made using Java EE 7 technologies (JSF, CDI, EJB, JPA)

I'm making my first steps in Java EE. This is a simple guestbook made using Java EE 7 technologies (JSF, CDI, EJB, JPA). I will really appreciate your feedback. Does the code follows the standard ...
1
vote
0answers
74 views

Facelets navigation, flow, sequence, structure and organization

I might finally start to be getting a glimmer of a notion of how to use facelets! I'm just trying to work on the navigation, flow and organization for the sample "guess number" application. It seems ...
1
vote
0answers
46 views

Using HttpServltRequest to store a Request Scope map cache

I'm playing with CDI interceptors and thought use a interceptor to cache some methods in a managed bean: ...
0
votes
1answer
90 views

First facelets with JPA app on glassfish

So far as I've tested it, these few facelets files with JPA database connections work as intended. The queue, MyQueue, is at ...
0
votes
1answer
44 views

Facade pattern usage with JDBC-resource on Glassfish

For this project: ...