This topic describes how to share code, and so functionality, between the middle tier and the presentation tier of a Open Ria Services application using source files. When you change the source file in the middle tier and rebuild your application, the updated code is automatically synchronized in the client project. You put code in a shared source file when the code does not belong in a domain service or an entity class, and you do not want the code to go through the client code generation process.