Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Appendix B. Creating a Real Data Source with db4o

B. Creating a Real Data Source with db4o

Throughout this book we have used a mock data source—a simple Java class which only imitated storing and retrieving data. This wasn’t very exciting, but dealing with a real database normally means a lot of distractions. We would have to download such a database, install and configure it, and create the necessary tables in one or another way.

In order to work in a contemporary way, we might also wish to use some object-relational mapping solution like Hibernate. That would mean downloading, installing, configuring, and then writing a lot of XML, all from scratch to achieve what we want.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint