Let's assume we are using EJB3 and our session bean uses/implements Local Interface L and Remote Interface R.
@Local
public interface L {
abstract void localMethod();
}
@Remote
public interface R {
abstract void remoteMethod();
}
My Question 1:
can a local client also make use of remoteMethod?
My Question 2:
is it good practice to extend the local interface with the remote interface?
@Local
public interface L extends R {
...
}