This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm trying to make Request Factory work on GWT plug-in (2.2.1) for Eclipse 3.6 and I've run into a dilemma. While I got most of the coding required done, not an easy task given that I had to go through a lot of references and head scratching, my real troubles began when I put persistence code which is supposed to be server-side only on my service/locator classes. I use the same persistence code framework that I normally use for RPC style services. Obviously, GWT would refuse to compile when code like that is present in the client or shared package. However, if I move the offending class to the server package, the GWT editor reports an impending build error because the class referenced by the @Service annotation in other classes is no longer included in the client/shared package. How can I resolve this? I've tried other sample code before but I have no idea how the others got them to work without getting past this.