Thank you Piero, I see your point, I am not thinking on changing the database at the middle of the development process, at least, it isn't my priority.
Anyway, I am thinking on developing some business components, as tapestry modules, which should interact with the underlying database, but I don't want to couple them with neither hibernate nor anyone database technology, so, I am thinking which is the most standard way to make it abstract. Regards, MatÃas. Piero Sartini-3 wrote: > >> So, do you think that the most flexible approach should be to have some >> module like tapestry-jpa to interact with into the pages, and, the real >> "data access layer" implementation could be inter-changable between >> hibernate, db4o, and anyone which implements the JPA specification? > > If you use JPA, you may switch between the implementations: > EclipseLink / Toplink, Hibernate, OpenJPA and DataNucleus to name a > few. > In practice I have never seen a project changing its underlying > database.. but well, you may do this with JPA as well. > > For db4o, as it is no relational database I don't think it provides a > JPA implementation. And if it does, I would not use it - you loose the > power of object oriented databases by doing so. I've used NeoDatis > (another OODB) myself and wrote a small plugin equal to tapestry-jpa > to make its usage more pleasant (injecting ODB service and working > @CommitAfter). You could take the same approach for db4o. > > Piero > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://old.nabble.com/Is-tapestry-coupled-with-Hibernate-API--tp27111015p27116078.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org