Hey,
Our application is built with Hibernate, Spring and GWT.
The main meat of the application is implemented via GWT RPC mechanism.
I'm injecting dependencies into the RPC servlet via static properties:
++
public class CoolServiceImpl extends RemoteServiceServlet implements
CoolService {
private static CoolDao coolDao;
++
In order to start a transaction upon calling the RPC servlet methods,
I wrote:
++
<bean id="coolService"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager" ref="txManager"/>
<property name="target" ref="coolServiceTarget"/>
...
</bean>
++
I'm not sure if this approach is correct but I'm facing this problem:
detached objects don't get updated at the end of the method execution.
s my approach is correct? do you suggest a better way to integrate
Spring with GWT?
Please note that I'm not using OpenSessionInViewFilter
Environment:
GWT 1.5.2
Spring 2.5
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---