Community
Participate
Working Groups
Currently the new method on the IClientObject creates a "create" operation. The create operation has a properties map. When you want to pass properties you have to create a map on the server side and pass this map to the IClientObject#new method. It would be much better to have something like this: IClientObject obj = ... obj.new( styles ); obj.setProperty.... obj.setProperty... From a message point of view this should not create a "create" and "set" operation. This should create just a "create" operation and it should append the properties to the "create" operation's properties map. So, I think we should make the create operation streamable in the ProtocolMessageWriter.
The client Protocol Processor now processes the "create" operation additinally as an "set" operation, supporting this feature.
After some consideration, we decided to remove the properties parameter from IClientObject#create(). Properties are now set using IClientObject#setProperty(). Properties are appended to a preceding create operation. Changes are in CVS HEAD.