-----Original Message----- From: Alen Ribic [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 9:42 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: How much should Struts be aware of my persistence system
sounds good. I was thinking something along those lines of indirection. --Alen Alen, I would recommend looking at Sun's DAO writeup for handling crud methods-- interface them all out and create a factory for them. This way, no matter if you use OJB, iBatis, DataMapper, etc, etc, etc, you can change the implementation down the road if need be and your struts/logic layer doesn't care. ---Basically put an abstract layer between yourself and the persistence layer. -jacob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]