This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
If a client does not transfer an optional element to the service, the attribute in the corresponding Java object on the service will be set to "null" or the default value. On the other hand it is possible, that the client transfers the same attribute with the value "null".
In my scenario it is a big difference if the client did not transfer the element or if the client explicitly sets the element to "null"
In both cases the service receives a Java object with the corresponding attribute set to "null".
So how can the service distinguish between these two scenarios?
Greetings, Thomas [ November 10, 2006: Message edited by: Thomas V�lk ]