SessionBeanRemoteOrLocalInterface sb = ...lookup...narrow...;
session.setAttribute("SessionBean", sb);以后用session.getAttribute("SessionBean")取出即可