-
OK to use a single stateless EJB in a servlet? (0 messages)
- Posted by: T J
- Posted on: March 21 2003 17:13 EST
I saw some code once where a stateless EJB instance was create in the init method of a servlet. That one instance was then used for all requests coming in. THe instance did database access. I seem to recall bea literature saying not to do that because it could be passivated. Isn't that correct? Thanks