Deepika Joshi wrote:I wanted to know the differences between JAX-RPC & JAX-WS web service & I google the same topic.
- JAX-WS binding data (data binding define in JAX-B) & support all (data) type of XML schema
but JAX-RPC uses Java type binding, supports 90% XML data type.
Does that mean that SOAP does know how to deal with java.lang.Objects during serialization and deserialization?
Or I do something wrong?
Nidhi Sar wrote:
Deepika Joshi wrote:-(when object is locked, no other thread can use the object until lock is released).
Deepika,
Thanks for taking the time to write the details of the process. It is a great explanation. However... it doesn't answer my main question
1. An object (say myTicket) is locked by ThreadA,
2. Another thread ThreadB cannot get a lock on myTicket till it is released by ThreadA
3. However, can another thread CHANGE myTicket???
i.e. getting a lock on an object and changing its state are two different things, aren't they?