Chapter 8. Using RequestFactory
- Creating RequestFactory-compatible domain objects
- Generating, editing, and deleting domain objects
- Handling errors using Java’s Bean Validation framework
GWT provides several ways for your data to communicate between the client and server. In chapter 7 we explored GWT-RPC, which as you saw is a great general-purpose tool that allows you to transport a Java object between client and server. In this chapter we move to a relative of GWT-RPC named RequestFactory. And this raises the question, how is RequestFactory different than GWT-RPC?
GWT-RPC was designed to be a generic service-based mechanism, whereas RequestFactory was designed to work specifically with data objects, which ...
Get GWT in Action, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.