EJB design: Session Restoring
My app. interacts with a payment gateway. I need to resume my older session once the transaction is over. Have achieved it by storing my session in a HashMap and putting the HashMap in application scope. Iam able to retrieve the same once the transaction is over.
But the problem is whenever I call
HtptpSession session = req.getsession();
it creates a new session for me.
Also similar problem in the jsps with <jsp:useBean> tag.
Any suggestions wud be appreciated.