On 7/11/07, Chris Scott <[EMAIL PROTECTED]> wrote:
Hmm, I like the idea, but am not 100% sure this is a good thing to add to the RemoteFactoryBean. It is a big departure from what Spring offers on one hand, but more importantly, the code example looks to me like fully metaprogramming your cfcs in xml.
I completely agree but it also speaks (loudly) to my complaint about why I don't use ColdSpring's Remote Proxy stuff - my remote facades often have APIs that are nothing like the original bean's API. Barney's comment about subclassing the factory is interesting tho'... If there was a nice, easy way to override how the proxy method generation was done, that would be a good start, especially if there was a nice way to special case certain methods (which is essentially what Brian tried to do). Definitely interested in seeing where this goes but I lean toward extension points in ColdSpring rather than modifying the grammar. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood
