In a perfect world one has only remote or local entities well separated. In my case I need to create complex entities which are partially persisted in backend and partially locally (some fields are persisted remotely and some local).
Which is the correct way to achieve this? Is it possible at all or shall I implement my own custom business object at the service layer by binding the fields from two independent entities?
Any advice is welcome!