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

What does MVC mean to you? To me it is Model-View-Controller. This wikipedia article does a pretty decent job of helping one understand the concepts: https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller

What you are describing doesn't say MVC …

Jump to Post

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 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.