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.
I would not dare to explain how to do all this in an appendix. Fortunately, there is a
fantastic alternative??”to use an object database named db4o. All you need to do to
get this database is to download the most recent version from the project's website
(http://www.db4o.com), extract an appropriate JAR file from the package and drop
it into the WEB-INF/lib subdirectory of your Java web application. That's it; your
new database is ready!
But what is most amazing is that db4o is not just a toy to play with in an example
project. It can be easily used in a real life web application. Here is what the creators
of db4o write about it:
...it allows you to store even the most complex object structures with ease,
while achieving highest level of performance. Database benchmarks show
db4o to be up to 55 times faster than Hibernate and MySQL, a popular
object-relational mapper and relational SQL database stack.
For further information please refer to
http://www.
Pages:
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308