posted 9 years ago
Hi Guys,
I have one sessionBean which(its methods) is called using a front end. In front end code after JNDI lookup(first time after login) I am setting 'Handle' object (EJBObject.getHandle()) in HttpSession as attribute so there is no need to lookup for consecutive calls. But when I try to get the Handle from HttpSession I get EJBObject and JVM throws ClassCastException.
So I thought that it is getting overwritten somewhere else in the code so I implemented HttpSessionAttributeListener and found out that it wasn't getting overwritten.
I am using WebLogic Server Version: 12.1.2.0.0
Any help will be much appreciated.
Thanks.