I presume you mean you need to link a Servlet session with a particular Session in the EJB tier. To do this, acquire the handle of your stateful session bean (from the Home interface) and store the handle reference as a session variable in your Servlet container. You can then re-acquire the SSB from the Handle reference.

TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations technology projects - with its network of technology-specific websites, events and online magazines.