Tag Info

New answers tagged


I would recommend the following: Implement the data layer using an established ORM framework. My favorite is myBatis, but JPA and Hibernate are definite contenders. Wrap the data layer with a Java API that supports only business operations (not CRUD operations)- e.g. Read customer details, enrol new customer, cancel customer, place order etc. That way you ...


Treat Web services the same as any other data access: To approach client side MVC architecture, without frameworks, we treated Web services in the same manner as we did localStorage and the local IndexedDB database. All code that involves requests to remote servers or that query a database or that read/write to localStorage happen in the model layer as DAO ...

Top 50 recent answers are included