http://www.ibatis.com/jpetstore/jpetstore.html
iBATIS is actually two frameworks, a SQL Mapper and a DAO framework. If you like what you see in the jPestore, you shoold be able to use the DAO framework with Hibernate and then switch to something else later. (It uses a factory configured through a XML document.)
-Ted.
Alen Ribic wrote:
Hi to everyone on the list.
I'm looking at the design options for a new app I'm working on. I have something like this so far:..
Struts framework --> invoke Action commands (execute) --> invoke Business Delegate methods --> lookup coarse-grained Session Bean --> invoke method on bean --> lookup factory for ORM system (Hibernate) --> manipulate data.
My question is with regards to possibility of abstracting the persistence invocation out from the business tier to integration tier. I might wanna be switching to JDO for persistence in the forthcoming future and wish to make provision for change. If I decide to introduce a pattern such as DAO, my question is, will I loose the benefit of managed environment? I wanna use Session beans with CMT and to then invoke the persistence system indirectly via DAO.
Regards, Alen
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Ted Husted, Junit in Action - <http://www.manning.com/massol/>, Struts in Action - <http://husted.com/struts/book.html>, JSP Site Design - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

