--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
-XdisableClassMetadata EXPERIMENTAL: Disables some java.lang.Class methods (e.g. getName()) |
|
-XdisableCastChecking EXPERIMENTAL: Disables run-time checking of cast operations |
I had the same issue with the command pattern. The problem is that all commands/results implement a common interface. The first time the service is created, it needs all the Marshalling code for all commands/results. The only way to avoid this is to have different services that define unique interfaces for their commands/results i.e. ServiceACommand interface and ServiceAResult interface.In the end I gave up on the command pattern and switched back to standard RPC with different services for each logical area.I added common error handling / version checking in a service facade.