Hello all,
Is it advisable to cache (persistant) the EJBObject Handle? (ie. store the Handles in a HashMap and then the HashMap to a file). When I googled this , i found some material which suggested against caching the handles.
What happens if I use the same Handle after a restart of the server?
Is it that the handle.getEJBObject() method calls the Home Object of the corresponding bean to create a new EJBObject instance/use an existing EJBObject instance?
I tried this with
JBoss 3.2 (and even used the same handle when I upgraded to JBoss 4.0) and it worked without flaw even after a restart.
thanx
Aravind