Skip to main content

Home/ GWT - Request Factory/ Group items tagged service

Rss Feed Group items tagged

Esfand S

Dynamic EntityManagerFactory creation and RequestFactory service stubs problem - Google... - 0 views

  • > Does anybody have an idea for a nasty workaround for that problem that > is possible with the current GWT 2.1 implementation? One that I wouldn't call "nasty": 1. extend DefaultRequestTransport to send the uniqueCustomerName (say, within an HTTP header) 2. initialize() your RequestFactory with an instance of your extended RequestTransport 3. on the server-side, get the HttpServletRequest using RequestFactoryServlet.getThreadLocalRequest(), to extract the uniqueCustomerName from it and use it to create the EntityManagerFactory. That way, you don't have to send the uniqueCustomerName explicitly in each and every request, it'll be done automatically and transparently by your RequestTransport.
Esfand S

The blog of Hung: Using RequestFactory with GWT MVP Framework in comparing with GWT-RPC - 0 views

  • GWT 2.1 has introduced new framework: RequestFactory for working with server object (entity or not entity) more easily. According to Google, GWT-RequestFactory is data-oriented and GWT-RPC is service-oriented. In my opinion, GWT-RequestFactory works like lightweight remoting-object mechanism with 2 hands; in otherwise, traditional GWT-RPC works like remoting-method mechanism. The 2 hands of GWT-RequestFactory are EntityProxy and RequestContext: -EntityProxy: remotes getters/setters of server object -RequestContext: remotes methods of server object With RequestFactory, developers can build their app more data-oriented and more object-oriented. Below is an example for building a simple app by using GWT-RequestFactory in MVP framework.
samantha armstrong

FixComputerpProblemsSite Surely Knows How to Fix Computer Problems! - 1 views

I was having problems with my laptop before. Good thing FixComputerpProblemsSite helped me fix it. And they are really the experts when it comes to solving any computer related issues. They can eas...

fix computer problems gwt rf roo json top requestfactory key 211 rpc security

started by samantha armstrong on 09 Jun 11 no follow-up yet
1 - 6 of 6
Showing 20 items per page