Link to home
Start Free TrialLog in
Avatar of chaitu chaitu
chaitu chaituFlag for India

asked on

which methods executed in servlet ,sessionbean,DAO and their class names

lets say

in my application i have one jsp

that jsp is calling servlet --> ejb --->dao

say i am executing one long scenario in the application

while going to these process  servlet will execute some methods,
 session bean  will execute some methods and same in the case of DAO finally we will the desired result;

In this process i want to know which methods(i wanted to know method names)  it has executed in servlet ,sessionbean,DAO and their class names;






Avatar of petmagdy
petmagdy
Flag of Canada image


try this:
Thread.currentThread().dumpStack();
Avatar of girionis
Avatar of chaitu chaitu

ASKER

hi petmagdy

in API This dumpStack() METHOD is used only for debugging;

where should i put this method;

try to put it at the end of your servlet service and inside ur DAO call
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial