Skip to content

Topic 7: Development of Enterprise Application

Zhamri Che Ani edited this page Apr 10, 2026 · 1 revision

Goal

To enable students to integrate all previously learned components (Servlet, JSP, JavaBean, JDBC) into a complete enterprise web application using the MVC architecture.

🎯 Learning Objectives

Students should be able to:

  1. Design a complete enterprise web application using MVC architecture
  2. Integrate Servlet, JSP, JavaBean, and JDBC into a single system
  3. Develop functional modules such as login, registration, and CRUD
  4. Apply appropriate Java EE design patterns
  5. Construct a working multi-tier web application

📌 Topics to Cover

  1. Choosing Java EE Architecture
    • MVC (Model-View-Controller)
    • Layered architecture
  2. Java EE Design Patterns
    • MVC pattern
    • DAO (Data Access Object) concept
  3. Designing Web Components
    • HTML forms (View)
    • JSP pages (View)
  4. Developing Backend Components
    • Servlet (Controller)
    • JavaBean (Model)
  5. Database Integration
    • JDBC connection
    • CRUD operations
  6. System Integration
    • Connecting all components
    • Flow: User → JSP → Servlet → Database → JSP

🛠️ Hands-on Activity

Activity: Complete Student Management System (MVC Implementation)

Students are required to develop a complete web-based system with multiple modules.

  1. System Modules

    • Login Module
      • User login using session
    • Registration Module
      • Register new user
    • Student Management (CRUD)
      • Add student
      • View student list
      • Update student
      • Delete student
    • Dashboard
      • Display summary (e.g., total students)
  2. Apply MVC Architecture

    • Model (JavaBean)
      • Student.java
    • Controller (Servlet)
      • StudentServlet.java
    • View (JSP)
      • list.jsp, form.jsp, dashboard.jsp
  3. Database Integration

    • Use JDBC
    • Table: student
    • Perform full CRUD operations
  4. System Flow

User → JSP (Form) → Servlet → JDBC → Database → JSP (Display)
  1. (Optional Enhancement)
    • Add search function
    • Add validation
    • Improve UI design

Expected Output

Students should produce:

  1. Complete working web application
  2. Multiple JSP pages
  3. Servlet controller(s)
  4. JavaBean model
  5. Database integration (CRUD working)

📚 Suggested Readings

  1. Java EE MVC Architecture Guide
  2. DAO Pattern Tutorial
  3. Full Java Web Application Example (Servlet + JSP + JDBC)
  4. Software Design Patterns (basic concepts)

Clone this wiki locally