* ServiceLocator eliminates the need for static methods
* Locator is great when you don't control the source code for the entities. 
In my case, the underlying entities are GData Contacts.

I cannot implement the EntityProxy interface in the server side object, 
because the server side object is *
com.google.gdata.data.contacts.ContactEntry*, external library.

*@ProxyForName(value = "com.google.gdata.data.contacts.ContactEntry", 
locator = "xxx.server.request.ContactLocator")*
*public interface ContactEntryProxy extends EntityProxy*

But because Locator's exist, I can use *
com.google.gdata.data.contacts.ContactEntry* as my server backed 
implemenation.
Locator would be a great place to implement 
*xxx.server.request.ContactLocator.setEmailAddresses, 
* since I have the same problem here : I cannot implement the setter because 
it is an external library.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to