I tyied to use transient, but still can show up. but if I set hte getcommandkey and setCommandKey menthod as protect or private, it would nor show up. Looks like is related to menthod signature. but I must make them as public for other usages. Can I set it a method as 'transient'? have web service interfce
My web service interface is like this, public interface DataObjectProcess extends Remote { DataObject jobRequest(DataObject aDataObject) throws RemoteException; }
The transient qualifier only has meaning for fields, not methods.
If serialization depends on the visibility of the the accessor methods, then the usual Java Bean rules probably apply, i.e. if the getter and setter are public, then the field is deemed to be serilizable. That's actually mentioned in the documentation.