7.5. Building and deploying the server side

In section 7.4 we defined a GWT-compatible model for our GTwitter client. Now we want to look at coding the server side of the equation and deploying it to a servlet container.

GWT makes developing the server-side code easy. The first rule is that this is the server, so anything goes. You’re not limited to what the GWT compiler can accept, because your server-side code isn’t processed by the GWT compiler. You can use all of your favorite Java libraries and aren’t limited to specific classes in the JRE as you are with your client-side code. If you felt a bit overwhelmed by all of the rules of GWT-compatible serialized objects, this section will be a nice break.

This section assumes some familiarity ...

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.