Hey guys!
I've developed some small classes to help working with GWT RPC's and Spring with Annotations.
DOWNLOAD-> SpringGwtController
It's really Simple to use:
1. Create the GwtServiceUrlHandlerMapping bean
2. Annotate your @Service implementation with @GwtRemoteService:HTML Code:<bean class="br.mikhas.gwt.spring.GwtServiceUrlHandlerMapping" />
DoneCode:import org.springframework.stereotype.Service; import br.mikhas.athome.view.client.TestService; import br.mikhas.gwt.spring.GwtRemoteService; @Service @GwtRemoteService("test.rpc") public class TestServiceImpl implements TestService { public String[] testMethod(String text) { String[] result = { "this is", "a test" }; return result; } }


Reply With Quote
