Hello,
I'm new to Hibernate and I would like to ask a few questions about Hibernate to all of you, so that I know if it fits my needs before going any further.
The thing is that for a project that I'm working in at this time I need to be able to read and write data to and from a database (and this of course I know that Hibernate can offer me), but I also need to be able to access this data using events (we have components that communicate with each other through events using the publish/subscribe paradigm) or read and write this data to and from a file (normally with the events that I just mentioned). Basically, I need to have access to a couple of different data sources (not only databases), and so I need to have something that we can call "data independence".
After this brief introduction, my question is relatively simple: Is it possible to have this "data independence" with Hibernate? If so, what do I have to do and what classes do I have to extend to do what I need?
I have to say that before sending this post I have already been searching through the Hibernate web site and a couple of other internet sites, but until now, I haven't been able to get the answers that I need.
Thanks in advance.
Best Regards,
Paulo Fernandes
|