interface Account extends IsSerializable {
// some required getters
}
//class BasicMembership implements Account ....
//class RemoteMembership implements Account ....
// (and some non-GWT related membership types used elsewhere not
visible to GWT code)
interface AccountService extends RemoteService {
boolean checkAccount(Account account);
}
with the new 1.4.10RC this fails to work because it complains that not
all Account types declare a default constructor because interfaces
don't have constructors. When I converted Account from an interface to
an abstract class and updated the membership classes RPC works again.
But now my non-GWT membership types need GWT to compile or I'm going
to have to translate between DTOs. :-(
It seems strange that one non-instantiable type (an abstract class) is
allowed as a RPC parameter when another non-instantiable type (an
interface) is not allowed.
Was this an intended change in RPC behavior? If so maybe add something
to the RPC section of the release notes.
--
Sandy McArthur
"He who dares not offend cannot be honest."
- Thomas Paine
--