In this mode, the database and User Interface must run in the same VM and must perform no networking, must not use loopback networking, and must not involve the serialization of any objects when communicating between the User Interface and database elements.
My doubt is:
If non-networked ( or standalone) mode and server mode run in the same machine, at the same time.
Do they need 2 database files?
If not, how to achieve thread safe?
if yes, how to achieve data integrity?
Thanks for any help!
Don't try to read too much into the
requirements. Keep things simple and stick with what is explicitly asked for. As long as you can run in either mode, you don't need to worry about running in both modes at the same time if this is not explicitly stated in the requirements.
If you feel you really need to say something about the situation you have in mind, you might want to document it in your design choices documentation as an issue that you are aware of.