A method of providing persistency for an object (O) to be a persistent object, in an object oriented application, comprising the steps of associating (102) a proxy object (PO) with said object (O), creating (103) a persistent object representation (111) of said object in a persistent data store (112), receiving a message (105), sent by a client object (CO) to said object (O), by said proxy object (PO), forwarding (107) said message to said persistent object by said proxy object (PO), receiving (108) a result of said forwarded message from said persistent object by said proxy object (PO), updating (109) said persistent object representation (111) by said proxy object (PO), and returning (110) said result of said message to said client object (CO) by said proxy object (PO).