JavaWeb Development Mode 1: JSP + JavaBean, javawebjavabean
After several days of web development, let's talk about it:
Development hierarchy: the business logic layer and database layer of the interface layer (View). However, the simple JSP development involves mixing these three layers so that the code is too difficult to maintain. How can this problem be solved?
Layered,JavaBean encapsulates the business logic and database, and JSP calls the JavaBean response client.This is also the earliest web development mode.
JSP + JAVABEAN Development Mode:
Features: This mode separates the business logic from the page performance, and increases the program's debuggable and maintainability to a certain extent.
Disadvantage: The page combines control and display.
Conclusion: It is simple and suitable for the rapid construction and operation of small projects.