Hello again!
So if RamFileObject is serializable, so is the data store. I'll mark
them with JSR-220 annotations so that Hibernate and others can
serialize them automatically. How does that sound?
Sounds good too, but again just one point: We have to ensure VFS
compiles at least with jdk 1.3 so annotations are a no go here. Maybe we
could provide a "plain old" hbm.xml file. Though, I thought more about
delivering the content from one jvm instance to another one. Saving it
to a filesystem could be done by replication using any of the other
filesystems as destination. Sure, attributes might be lost, but we have
to see what the real application (other than tests) for this RamFS might be.
(I cannot reach hibernate.org right now (!?), but the page describing
features for version 3 has a keen sample of the annotations.)
I already use hibernate with annotations in one of my private projects -
and from my point of view this is a "killer feature", its a pleasure to
create a new method, annotate it and let hibernate update the database -
really rapid application development. Sure, this is possible with
hbm.xml too, but that way it is much easier to do.
---
Mario
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]