Hello,

I have requirement for an application with GWT front end, spring based
middle ware and hibernate based persistence. I am using the below
configuration for each of these -
GWT - 2.1
Spring - 3.0
Hibernate - 3.5.6

My service interface extends the RemoteService and is annotated with
@RemoteServiceRelativePath("userManagement.rpc")

my web.xml is configured to accept and direct all requests with *.rpc
to spring dispatcher servlet which directs the incoming requests to a
GwtRpcController. This controller extends the RemoteServiceServlet and
implements the spring servlet  Controller and ServletContext.

The spring-servlet config file has got the bean configuration for
GwtRpcController and ref bean for my implementation class -
UserManagementImpl.

The setup works fine with rpc call for methods with raw java types eg:
int, boolean or String but fails for custom objects for eg: a class
created eg: UserRoles. I have made this class implement
java.io.Serializable and also kept it in client folder structure.

Code is similar to one given in below link -
http://technophiliac.wordpress.com/2008/08/24/giving-gwt-a-spring-in-its-step/

Any help or pointers would be highly appreciated.. thanks in advance.

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

Reply via email to