dao

How to design an abstract DAO interface correctly and is it worth doing it at all?

Every time I'm faced with writing another DAO, I stumble over the same problem - designing the most abstract DAO interface th ... /generic DAO at all, or is it better to continue riveting specific methods for each new use case in batches and not show off?

Java servlets. Choosing a DAO in runtime

There is a web application. When you log in, we get to the login page, we will omit the logic of the application itself. As ... d in-code initialization by a specific implementation: IUserDao userDao = new DatabaseUserDao(); That's not good Thanks!

MVC pattern in java without frameworks and third-party frameworks

Tell me, is there somewhere a simple application written for educational purposes (not using frameworks with a ready-made MVC ... omething other than the web, and thin controllers without business logic (that is, that business logic would be in the model)