axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Black <jbl...@ieee.org>
Subject Re: JavaBean synchronisation Client/Server
Date Fri, 11 Jul 2003 01:10:34 GMT
BLIS Webmaster (Patrick Houbaux) wrote:

>> Is is possible to automatically synchronized the server side of 
>> what's happening on the client side to my JavaBean? 
>
  You can create a special setter function in your interface that would 
call the webservice to update the server's attribute.

  Rather than using
setUser(String user)

use,
syncSetUser(String user)  {
  setUser(user); // This sets the value for the client attribute
  servicelocator.syncUser(user); // This would be the code to call the 
web service
}


Mime
View raw message