Hi All,
Due to my machine's enviroment setting got something wrong, so I cannot do the
test for my question now, hoping you guys' can give me some advices:
Suppose we have a remote client:
public class AdviceClient {
...
//suppose we already get the
EJB home interface back, the SuggestionGiver
//is the component interface
SuggestionGiver sg = home.create();
String suggestion = sg.getSuggestion(this); ...
public void fromClient() {
...
}
}
if the remote client can really pass itself, then that means the client is available for bean's business method, then the bean's business method can invoke Client's method (here is fromClient() method)
I know, passing client itself is a little weird, but technically, is it fine?
Thanks a lot in advance.
Hai