Ocean Serialization - Saving Custom Data Made Easy
Ocean Serialization - Saving Custom Data Made Easy
Ocean Serialization - Saving Custom Data Made Easy
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
How To Use Managed Persistence API<br />
Steps to persist a custom domain object<br />
• Tag class and members to serialize<br />
• Add them to Structured data source<br />
• Register <strong>Data</strong>SourceFactory implementation<br />
public class XYZObject: IIdentifiable<br />
{<br />
private double _position;<br />
private string _name;<br />
}<br />
private Droid _droid;<br />
public Droid Droid<br />
{ get { return _droid; } }<br />
...