// Log
String ejbName = smd.getEjbName();
log.debug("Found Session Bean: " + ejbName);
// Get Business Locals
BusinessLocalsMetaData businessLocals = smd.getBusinessLocals();
// Get Business Remotes
BusinessRemotesMetaData businessRemotes = smd.getBusinessRemotes();
// Get Local Home
String localHome = StringUtils.adjustWhitespaceStringToNull(smd.getLocalHome());
// Get Remote Home
String remoteHome = StringUtils.adjustWhitespaceStringToNull(smd.getHome());
// Determine if there are local/remote views
boolean hasLocalBusinessView = (businessLocals != null && businessLocals.size() > 0);
boolean hasRemoteBusinessView = (businessRemotes != null && businessRemotes.size() > 0);
boolean hasLocalView = (localHome != null || hasLocalBusinessView);
boolean hasRemoteView = (remoteHome != null || hasRemoteBusinessView);
/*