Suppose I have two beans: Movie and Director In bean Movie, I have virtual CMRs:
public abstract Director getDirector (); public abstract void setDirector ( Director d );
I also need a business method getMovieDirector () to get a given movie's director, IMPORTANT HERE, the client is a remote client, how can I deal with it. In P386, there is a method like
public Director getMovieDirector () { return getDirector (); }
but the Director has to reference a local reference. I need a method like:
DirectorRemote getMovieDirector (); How can I deal with that, or I am in total wrong way here.
You can not get the cmr field through the remote interface, but you can define a value bean and create a method to retrieve the cmr-field and populate the value bean with cmr-field's value, then return the value bean.
SCJP, SCWCD, SCBCD, SCDJWS, OCA9i,<br />IBM Certified WAS5.0 Admin<br />IBM Certified Solution Developer - WebSphere Studio 5.0<br />IBM Certified Solution Developer - XML and related Technologies