Zecrates
Zecrates

Reputation: 2982

Java Profiler for EJB Applications

I have a Web Application deployed to a local Glassfish server which I would like to profile in order to see which parts of my code is accessed most frequently. The code consists of JSF beans and Remote EJBs, with both being deployed in a single EAR. I tried using VisualVM to profile my Application but, although I can successfully connect to the Glassfish server as well as my context root, VisualVM doesn't seem to profile my own classes (in the com.test.* namespace). I see lots of Sun classes and other dependencies such as Lucene being accessed, but not a single instance of my own classes.

My question is thus: am I doing something wrong or is this a shortcoming of VisualVM and should I therefor try a different profiling tool?

Upvotes: 1

Views: 1737

Answers (2)

Conor
Conor

Reputation: 2489

The latest version of netbeans has a profiler. Try it.

Upvotes: 0

David Rabinowitz
David Rabinowitz

Reputation: 30448

You can use any of the following:

Any of them can connect to a remote server and to profile it. The list in http://java-source.net/open-source/profilers contains some open source profilers (notice that many items are APIs and libraries, not profilers per se)

Upvotes: 5

Related Questions