Sunday, 1 June 2014

Request Factory Vs GWT-RPC

Request Factory is a better client-server communication method for creating data-oriented services. 

RequestFactory uses its own servlet, RequestFactoryServlet, and implements its own protocol for data exchange between client and server. RequestFactory takes a more prescriptive approach to the client-server programming model than GWT-RPC does. GWT-RPC uses remote methods as its basic building blocks (similar to Java RMI), whereas RequestFactory uses entities (data with a persistent identity) and services.

I have used Request Factory approach on GWT client -> Spring Server communication. I will try to share detailes like how to implement sample service using this approach on my blog and update later.