On Saturday 17 Dec 2005 18:31, Igor Vaynberg wrote: > of course i dont have txn management code in every event handler, i use > spring. my service methods are demarkated with their txn attributes and > spring handles it all for me transparently via aop. my wicket code knows > nothing about transactions or hibernate or any perstence code, it only > knows about service interfaces. >
Ahh yes this does sound like a better approach. I have never used Spring before. a couple of questions: Can you call multiple operations on your service interfaces in the same transaction? Or is this not done? Can you leave the hibernate session open for the view to be rendered? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
