PDA

View Full Version : Class returned by javarpc instead of an object


daneel_r_olivaw
05-31-2006, 04:11 PM
I'm currently investigating the possibility to connect a OpenLaszlo presentation layer with a Spring+Hibernate backend via JavaRPC. So far,everything has worked fine, even if I found some discrepancies with what's written in the documentation, but now I'm running into trouble with something.

I have created a controller class on the serverside to relay all the Laszlo requests to Spring services. A simple service method returns a basic value-object, which the controller sends back to the client via JavaRPC. The thing is that, according to the debugging, instead of getting the actual value object, I retrieve its class.

Do you have any idea of what I may have done wrong?