Hi Bod and Dan, Very happy to see that this issue is on its way to be solved :) Nevertheless, I think it would be useful if JDO management code and RPC serialization can be separated : instead of having
for (Class iface : interfaces) { if ("javax.jdo.spi.Detachable".equals(iface.getName())) { // JDO specific code } } a code like this would be better : for (Class iface : interfaces) { if (this.serializationTransformer.isTransformable(iface)) { serializationTransformer.transform(instanceClass); } } where JDO specific code is encapsulated in a specific code. As another side benefit, this mechanism could be used to enhance GWT serialization process for any other persistence library. HTH Bruno On 29 juin, 19:16, b...@google.com wrote: > http://gwt-code-reviews.appspot.com/47807/diff/1/9 > File user/src/com/google/gwt/user/client/rpc/WeakMapping.java (right): > > http://gwt-code-reviews.appspot.com/47807/diff/1/9#newcode31 > Line 31: public static Object get(Object instance, String key) { > On 2009/06/29 15:34:02, Dan Rice wrote:> I'm not sure what can be said about > the namespace. What do you have > > in mind? > > "Note that the key space is module-wide, so some care should be taken to > choose sufficiently unique identifiers." > > http://gwt-code-reviews.appspot.com/47807 --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---