This. I like this. How would this work, would it be an Entry, an attribute of the service (perhaps similar to the ServiceUI factory?).
My PoC is attached to one of the issues in Jira (I'll try to find it tomorrow once I have some more time). It was discussed some time ago on this list mainly with Peter. Basically the idea is to change codebase annotation from java.lang.String which needs to be interpreted by the client to an object implementing an interface. This object can be verified in exactly the same way as normal proxies are verified ( by a TrustVerifier - in particular the ProxyTrustVerifier ). All that happens during deserialization. It does not have anything to do with Entries since it is implemented at the layer below that - hence is available for _all_ downoladed code (for RemoteEventListeners as well :-) )
Regards, Michal -- Michał Kłeczek XPro Quality Matters http://www.xpro.biz