Yes, u can have a method in the bean class and not have it declare it in the remote i/f..this mean the client cannot use that method..but that method may be called from any other business method..which the client can access throught remote i/f ..If some method is useless why would any one define that method in first place?
Originally posted by Yogesh Mathur:
Hi!
I have a very fundamental doubt.
Can we have a method definition in our Bean's Implementation class without declaring it in the Remote Interface & Home Interface. If yes, that means our Bean Class will have this method, but clients won't have access to this method, indeed makeing it a useless method (or, is it usefull in some cases?)
Please Clarify...
Thanks in advance..