// descriptor.
// Build a local interface if no @Remote annotation, else add interface in the existing object
if (jRemote == null) {
JLocal addedJLocal = new JLocal();
addedJLocal.addInterface(itfFound);
sessionBean.setLocalInterfaces(addedJLocal);
} else {
jRemote.addInterface(itfFound);
sessionBean.setRemoteInterfaces(jRemote);
}