It is the serializable class of Java which is used to contain data in object pattern, using this we can send data easily from one platform to another using a secure way.
it is used to provide MVC Design pattern to Java Program Code.
MVC means MODEL, VIEW, and Controller.
MODEL means Database Layer which is used to perform a database operation, JAVA Bean class will work in Database Layer.
View:- It is used to design a web page using JSP it is also called User Access Layer
Controller:- it is more intermediate between Model and Views .we will write program code or program logic also in Controller. Servlet Class will be used to Create Controller.
Step for MVC:-
Create a JSP page
Create Servlet
Create JAVA Beans Class Define Property :
Property is used to contain data of data member using getter and setter block.
JAVA BEAN CLASS is also Called POJO CLASS
POJO means PLAIN OLD JAVA OBJECTS
it is used to provide MVC Design pattern to Java Program Code.
MVC means MODEL, VIEW, and Controller.
MODEL means Database Layer which is used to perform a database operation, JAVA Bean class will work in Database Layer.
View:- It is used to design a web page using JSP it is also called User Access Layer
Controller:- it is more intermediate between Model and Views .we will write program code or program logic also in Controller. Servlet Class will be used to Create Controller.
Step for MVC:-
Create a JSP page
Create Servlet
Create JAVA Beans Class Define Property :
Property is used to contain data of data member using getter and setter block.
JAVA BEAN CLASS is also Called POJO CLASS
POJO means PLAIN OLD JAVA OBJECTS
Post a Comment
If you have any doubt in programming or join online classes then you can contact us by comment .