Any recommendations for a good JSF profiler? I am using Tomca开发者_运维问答t 6 JSF2, Hibernate & Spring
If you're using an IDE like Eclipse or Netbeans, then the builtin profiler or the ones which are available as a plugin will in most cases already suffice. It all depends on the features and the level of detail the profiler provides.
Eclipse for Java EE ships with TPTP which can also be installed as a plugin in Eclipse versions lacking the profiler. Just deploy project to server, rightclick server instance and choose Profile on server. You'll be brought to Profiling and logging perspective wherein you can examine the profiler results.
Netbeans has its own profiler which is based on JDK's builtin VisualVM profiler (actually, it's the other way round, the VisualVM was born out of the Netbeans profiler ages ago).
Talking about VisualVM, you can also use it independently if you have the JDK installed. You can use it to profile Tomcat as well. Here's a nice blog article about that.
You can by the way stresstest webapplications using JMeter.
See also:
- Eclipse TPTP tutorial
- Netbeans profiler tutorial
There is a new JSF profiler:
XRebel
精彩评论