We are using iplanet application server 6.5 sp3 version. This version suports EJB1.1 specification.
As per EJb1.1 whenever an EJBException occurs, the stateful session bean instance should be discarded and the client should be forced to create new stateful session eban instance.
But it seems the session bean instance never gets discarded in case of EJBExceptions.
Basically , we get the home object of stateful session bean & store it in HTTP Session. If there is any EJBException ideally the bean instance should have been discarded. But currently even if there is any exception, the home object reference still remains active and the user can continue his operation further.
Can anyone please clarify why the session bean instance is not getting discarded ?