My application is having several domains and have corresponding screens for doing all the CRUD operations.
Now I have a requirement where objects from cross domain should be shown in single screen. This is still fine because we are just reading the data from cross domain. But I also need the ability to update the cross domain objects as well.
Let us say there are 15 cross domain objects which end of the day when updated go into their own 15 difference tables.
While I am using Spring MVC and Mybatis what is the best way to handle updates? I guess my concern is if I end up simply updating those 15 objects even though the change is just for 2 or 3 objects, the execution time is long because of the business logic and validation involved. How do I handle this scenarios? Any patterns that I can adopt?