Joined: Sun May 28, 2006 11:24 am Posts: 13
|
I approach architecture as "what is a good theoretical approach" Then I back off from the "ideal" until there is something that works in the real world. Come up with a few test cases and a harness and give it a shot with under stress and junit / jmeter. It is an agile world after all ;)
In all practicallity, I would definately suggest keeping any hibernate specific calls or imports out of the biz layer and biz classes. Put them in utility classes at least; if not in their own persistence services (thinking SOA here) You can always refactor if needed to smoosh the layers together if truely needed. What costs your organization more? faster/more CPUs or maintainance / enhancement of a highly coupled system?
|
|