Each lookup will create a new stateful bean instance. So effectively, your two servlets are using different instances of the stateful bean. If you want to see the same state between those servlets, then you should be sharing one instance of the stateful bean.