I was wondering why do we need separate Remote and Local intefaces for EJB 3.0 Session beans. I guess most of the time they would both be defining the same contract. Why can
I believe that when your business needs all your methods in the Local also need to be exposed to the remote clients, then
This approach could be a work around for achieving @Local & @Remote to same interface. Same method can be accessed locally if required and remotely if required, with out any performance overhead.
This is my thought. Somebody please let me know your thoughts to validate this.