On Mar 9, 2006, at 5:02 PM, Allen Gilliland wrote:
i feel like we are still a little disconnected here. my approach will not alter anything about our ability to use the open session in view pattern. the only difference i see is the difference between these 2 code blocks ...

old way:
begin();
website.store();
commit();

new way:
WeblogManager wmgr = roller.getWeblogManager();
wmgr.saveWebsite(website);


But what if saving a website is just one step in a multi-part transaction? OK, scratch that. If you start by doing the analysis and designing one of the new Manager interfaces, I think we'll have a much better understanding of this proposed refactoring.

- Dave


Reply via email to