Hello guys. I'm creating a web application on Netbeans. Under Source Packages, I've created:
- DAO Factories for Customer, Inquiries, and Employee;
-DB Connection to establish connectivity with a database I've created;
-Entities which include Customer, Inquiries, and Employee;
-Servlets containing Login, Reservations, EmployeeRegistration.

I'm just wondering if my understanding of the MVC model using these files is correct. DAO's contain the actions that the entities can perform i.e. under EmployeeDAO I have EditEmployee, RegisterEmployee, ConfirmReservation. Servlets implement such methods from the DAO's to manipulate the data on my jsp pages. Please correct if I'm wrong. Thank you!

Recommended Answers

All 2 Replies

That's not exactly what I would think of as MVC either. But it does look like good architecture, regardless of what you call it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.