chaitu chaitu
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;
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;
This might help: http://www-106.ibm.com/developerworks/java/library/j-dyn0603/
ASKER
hi petmagdy
in API This dumpStack() METHOD is used only for debugging;
where should i put this method;
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:)
try this:
Thread.currentThread().dum