Try using a profiler. Jprofiler is paying material buth quite good i can say !! Jboss has its profiler that can be used in an eclipse environment. These profilers give you exact and if you like verbose information. These infos include the time spend on each method. Most often this implies you to install an agent on the running vm and retrieve the data with the client-profiler.
Look at the date on the question you're answering. It's over a decade old! And while it's very unfortunate that no one answered it, by now, Karthik probably has moved on to other employers 2 or 3 times (or more, considering how disposable people are these days), and quite possibly may no longer even be a software developer.
We call threads that have been re-opened months or years after the discussion has closed "Zombie threads". We appreciate the effort, you've made, and we look forward to having you here, but I'm afraid you're too late for this one.
Customer surveys are for companies who didn't pay proper attention to begin with.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com