On Saturday 17 Dec 2005 19:24, Igor Vaynberg wrote:
> > Can you call multiple operations on your service interfaces in the same
> > transaction?  Or is this not done?
>
> yes. if you mark your service method as PROPOGATION_REQUIRED it will join a
> transaction if one exists, or start a new one if one doesnt.

I assume the service methods would need to be called by another Spring-managed 
method (service method) - ie not called sequentially from your wicket event 
handler - to be included in the same transaction?

> you can also specify what types of exceptions should or should not rollback
> the transaction, by default any runtime exception will.
>
> it also has excellent annotation support which drastically cuts down on the
> size of the xml file if you are lucky enough to be building on jdk5.

That sounds very cool.

> Can you leave the hibernate session open for the view to be rendered?
>
> yes, you either add an OpenSessionInView filter to web.xml or an
> OpenSessionInterceptor to the context. both are provided by spring.
>

Will have to look into that one day!  I am using Picocontainer which I think 
is fantastic but it kind of puts me off using Spring.  although is sounds 
like Spring has a lot more to offer.

Thanks for the info,

John


-------------------------------------------------------
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

Reply via email to