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 using the RequestFactory with GWT 2.4.0 for the communication between client and server and ran into the following issue:
Consider four entities
Here is the code which loads the User. The 'role' has three 'usecases' beeing returned by the server side method.
Everything seems to work perfectly, but at a closer look 'role' contains only one 'usecase' instead of three. I looked deeper in the GWT Code and observed that the data returned to the client contained everything as expected. The requestContext of the class com.google.web.bindery.requestfactory.shared.impl.AbstractRequest contains 5 proxies.
- 1 UserProxy
- 1 RoleProxy
- 3 UseCaseProxy
So, still correct. But in the decode method of the EntityCodex, something seems to go wrong, since the returned object only contains 1 UseCaseProxy anymore.
Does anyone have experience with this? Any help is appreciated