<html> <head> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Benefits</title> <link rel="stylesheet" type="text/css" href="../../../style.css"> </head> <body> <div class="CommonContent"> <div class="CommonContentArea"> <h1>Benefits</h1><p class="MsoNormal">External callbacks help you to solve many different problems and customize db4o behavior. Among their benefits:</p> <ul><li><span style="font-family:'Times New Roman';"><span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-size-adjust:none;font-stretch:normal;"></span></span>With external callbacks you do not have to pollute your object model with persistence code. This is exceptionally valuable when the objects are inherited from external application or library.</li><li><span style="font-family:'Times New Roman';"><span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-size-adjust:none;font-stretch:normal;"></span></span>Multiple event handlers can be registered on particular events, keeping your code clean and easily readable. </li><li><span style="font-family:'Times New Roman';"><span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-size-adjust:none;font-stretch:normal;"></span></span>You can "plug-in" different modules to perform different tasks. An example can be a module responsible for assigning unique IDs to your objects.<span><o:p></o:p></span></li></ul></div> </div> <div id="footer"> This revision (1) was last Modified 2006-12-05T12:44:07 by Tetyana. </div> </body> </html>