I have a cache of objects (does not have HTTP session attributes) and I want to be able to get objects from this cache When a Hessian request arrives and Hayesion has done the call on this object instead of the servlet.
I can control the class that the service-class and API-class intet parameters are set on request and applied on Hesianservelet. However, it is performing immediately on objects and it does not appear that I can control it.
I have tried to override the execution method of Hesianservelet and setService () or setObject () but it does not use the object that I have passed. Instead it seems that it is urging yourself to do it.
A simple hack creates a service class in which your object has the same interface, which Bring it to the pool for an example of your object, exposes this service through Hesien.
Comments
Post a Comment