Questions tagged [requestfactory]

RequestFactory is a component of the Google Web Toolkit that targets developers building data-oriented (CRUD) applications.

RequestFactory is a component of the Google Web Toolkit that targets developers building data-oriented (CRUD) applications and provides Bean-like APIs in the client. Unlike GWT-RPC, RequestFactory was designed to interface with existing data model objects on the server, typically backed by an ORM layer such as JDO or JPA.

Links:

439 questions
86
votes
8 answers

When should I use RequestFactory vs GWT-RPC?

I am trying to figure out if I should migrate my gwt-rpc calls to the new GWT2.1 RequestFactory cals. Google documentation vaguely mentions that RequestFactory is a better client-server communication method for "data-oriented services" What I can…
Daghan ---
  • 1,147
  • 1
  • 9
  • 10
25
votes
1 answer

Bad GWT Request Factory performance for list of objects

I am transferring a list of objects to the client with GWT Request Factory. The objects contain only a couple of strings and the list does only contain 20 objects. To transfer this small list of data, it takes over a second. First I thought the…
jan
  • 3,923
  • 9
  • 38
  • 78
22
votes
3 answers

Spring + GWT or Spring vs GWT

Background I am in the middle of developing a web application using GWT, Java, and EclipseLink. Each of those selections are choices I have made to implement this program. GWT is the only choice where there is not a firm grasp as to what it is…
hulkmeister
  • 429
  • 1
  • 5
  • 15
12
votes
4 answers

Using GWT Editors with a complex usecase

I'm trying to create a page which is very similar to the Google Form creation page. This is how I am attempting to model it using the GWT MVP framework (Places and Activities), and Editors. CreateFormActivity (Activity and presenter) CreateFormView…
Nick Siderakis
  • 1,961
  • 2
  • 21
  • 39
12
votes
4 answers

GWT RequestFactory examples?

Do you know where i can find some code examples for the new GWT 2.1 RequestFactory? Google's tutorial is not good enough to begin with.
kostas trichas
  • 2,923
  • 7
  • 28
  • 37
11
votes
3 answers

GWT 2.1 Editors framework

I'm looking for some documentation or examples on how to use the GWT 2.1 Editor framework. Google's documentation is uh, somewhat lacking. From the limited documentation available, I've been able to glean that editors will (in theory) allow you to…
George Armhold
  • 30,824
  • 50
  • 153
  • 232
11
votes
3 answers

GWT Spring Security Integration (PURE GWT, NO JSP)

I´m using GWT 2.4 and Spring 3.1 and I want to secure my application with Spring Security. I was looking for a GWT-only solution without a separate JSP login page. I found only old sites using JSP to do login, so this thread could result in a…
Tony Skulk
  • 237
  • 1
  • 3
  • 11
9
votes
3 answers

How to undo RequestFactory update

Updating object through GWT RPC can easily be undone. We need to clone previous entity state in memory and apply it upon undo. But when we use RequestFactory there is no concrete update operation. RequestFactory sends entity modifications to the…
Andrey Minogin
  • 4,521
  • 6
  • 38
  • 60
9
votes
1 answer

RestyGWT vs RequestFactory

I'm thinking on migrating my current service layer based on GWT-RPC to something else. It is about 10 service interfaces with 5 methods each, and involving about 20 different domain entities, so you have an idea of the amount of work that would…
9
votes
1 answer

GWT Requestfactory performance suggestions

I am observing really bad performance when using GWT requestfactory. For example, a request that takes my service layer 2 seconds to fullfil is taking GWT 20 seconds to serialize. My service is returning ~100 what will be EntityProxies. Each of…
Brad
  • 5,428
  • 1
  • 33
  • 56
8
votes
1 answer

RequestFactory theory: Why is Locator<>.find() being called so often?

I'm new to RequestFactory but with generous help of Thomas Broyer and after reviewing documents below it's getting much better :) Getting Started with RequestFactory Request Factory Moving Parts RequestFactory changes in GWT 2.4 But could you…
expert
  • 29,290
  • 30
  • 110
  • 214
8
votes
3 answers

GWT RequestFactory: How can I get a persistent id from stableId()?

I use Long ids in my entities, not only to store them in the datastore, but to reference other entities. Now, I'm using RequestFactory to create() objects on the client and persist them, but I need a way to figure out what id the server has…
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
8
votes
5 answers

GWT hit HTTP servlet with RequestFactory

I want to use GWT's RequestFactory for all client-server communication, if possible. My understanding is that you have to map /gwtServlet to RequestFactoryServlet in your web.xml, and then use @Service annotations to tell the RequestFactoryServlet…
user1768830
8
votes
2 answers

How to do client side validation with annotated rules on domain classes (RequestFactory)?

I've been developing a project with GWT 2.4 and looking for a way to validate (JSR 303) my client (proxy) classes without recreate annotations from my domain classes (server side). I know that there is an example suplied with GWT trunk code…
7
votes
2 answers

objectify query filter by list in entity contains search parameter

in an app i have an entity that contains a list of other entities (let's say an event holding a list of assigned employees) using objectify - i need to find all the events a particular employee is assigned to. is there a basic way to filter a query…
sean christe
  • 879
  • 2
  • 7
  • 24
1
2 3
29 30