Why should we use instances variables inside a stateless session bean. If we use, how can we initialize. if you initialize thru create method..it will be a statefull.
Incase of stateless session bean, the connection is set for every method call irrespective of the client accessing the bean.
So it all depends on the vendor implenting the container, conceputually it sould not store the state of the instance variables between the method calls.
but incase if weblogic and websphere, the state of the instance variables defined inside a stateless bean are still maintained.
The idea od SLSB is not to use instance variables.