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