java - JSF backing bean structure (best practices) - Stack Overflow: "You might want to check this out: making distinctions between different kinds of JSF managed beans.
Here is a description of the different bean types, as defined in the above article by Neil Griffin:
Model Managed-Bean: Normally session scope. This type of managed-bean participates in the "Model" concern of the MVC design pattern. When you see the word "model" -- think DATA. A JSF model-bean should be a POJO that follows the JavaBean design pattern with getters/setters encapsulating properties. The most common use case for a model bean is to be a database entity, or to simply represent a set of rows from the result set of a database query."
'via Blog this'
No comments:
Post a Comment