Java bytecode:: "An often overlooked aspect of Java is the bytecode that is generated by the javac compiler. Understanding bytecode and what bytecode is likely to be generated by a Java compiler helps the Java programmer in the same way that knowledge of assembler helps the C or C++ programmer."
'via Blog this'
Thursday, March 21, 2013
Thursday, March 7, 2013
java - JSF backing bean structure (best practices) - Stack Overflow
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'
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'
Subscribe to:
Posts (Atom)