I'm presently working on making an web application for filenet, I'm presently getting the objectstore and vwsession objects by calling a method in static classes .
Everytime I call these methods its againg getting the connection, I can store these objects in httpsession but those are heavy objects and that might a problem.
what is the best way to get these objects from or where to store these
EDIT: I'm using java and using filenet 4.x