Hi, I want to link/map a stateful session bean to a ServletSession. I have tried putting the remote reference into the ServletSession, but when I try to take it out of the ServletSession, I get a RemoteEJBException. I am using Borland App Server 4.5 trial edition. Does the underlying framework of EJB know to return the same instance of a bean everytime I do a lookup ? or do I have to supply some parameters in the create method ? Ideally I would like to cache the remote reference in the ServletSession in order to avoid the JNDI lookup any ideas ? thanks, dan
Joined: Jan 07, 1999
"cc95dh", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in again with a new name which meets the requirements. Thanks.