Hi,
I have a situation where we calls DAO in
servlet filter for user authorization. During the load
test we realizes that this things become bottleneck and spawn multiple threads results in crashing server environment. But when we remove this call from filter and do the same thing after chain.doFilter() method, like in Action class it does not create same problem.
What I want to know, is there a difference in handling database calls in Filter verses in POJO?
Thanks in advance.
Sudheerbabu