thanks for your reply.
So I can say that JSP only for view that is for presentation like GUI(forms).
Servlets for controller.
And what about JavaBeans? it is only for Property only?
can i get any sample codings or example in website for Model-View-Controller
Even JavaBean also a Java file with some speical properties. Why you are telling not to use database connection in JavaBean.
If I am using separated class for database connection, what will be the use. In that case for example, for registration of the customer details in the database requires the following files. (pls, at this moment
EJB is far away from my learning)
Customer.jsp - For Forms
Customer_JavaBean.java- For getting and setting properties
Customer_Servlet.java - For controlling?(Having doubt in this file of his
role
Customer_DB.java - For database connection
How these four will interact. I want the example thing for the above mentioned thing. If possible, pls provide the link. I had searched in google, but I am getting some complex mvc with EJB.
Also suggest, the above four files are mandatory for fulfilling a Good MVC Pattern.