Summary
In this chapter you have seen how db4o deals with complex structured objects, and learned how to store, retrieve, update, and delete these objects. You have also seen that the concept of object activation becomes particularly important when working with complex objects. It is worth noting that since the db4o data model is essentially the same as the domain object model, it is relatively straightforward to handle even quite complex structures that would be difficult to deal with if you were to use a relational database for persistence.
Up to this point in Part II we have been using db4o as a standalone, single-user database. The next chapter shows how it can be used as a client/server database to provide concurrent access for many users or processes. It is worth remembering that all the techniques you have seen so far work the same way regardless of the mode of access to the database.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Jim Paterson, Stefan Edlich, Henrik Hörning, Reidar Hörning
About this chapter
Cite this chapter
(2006). Working with Objects. In: The Definitive Guide to db4o. Apress. https://doi.org/10.1007/978-1-4302-0176-2_7
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0176-2_7
Publisher Name: Apress
Print ISBN: 978-1-59059-656-2
Online ISBN: 978-1-4302-0176-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books