问题描述
对优质的JSF分析器有何建议?我正在使用Tomcat 6JSF2,Hibernate和春天
Any recommendations for a good JSF profiler?I am using Tomcat 6JSF2, Hibernate & Spring
推荐答案
如果您使用的是Eclipse或Netbeans之类的IDE,那么在大多数情况下,内置的探查器或可作为插件使用的探查器就足够了.这完全取决于探查器提供的功能和详细程度.
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随附 TPTP ,它也可以作为插件安装在Eclipse版本中缺少分析器.只需将项目部署到服务器,右键单击服务器实例,然后选择服务器上的配置文件.您将进入分析和记录透视图,您可以在其中查看探查器结果.
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具有自己的 profiler ,它基于JDK内置的 VisualVM 探查器(实际上,相反,VisualVM早于Netbeans探查器而诞生).
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).
关于VisualVM,如果已安装JDK,也可以独立使用它.您也可以使用它来配置Tomcat.这是有关不错的博客文章.
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.
您可以使用 JMeter 来对Web应用程序进行压力测试.
You can by the way stresstest webapplications using JMeter.
- Eclipse TPTP tutorial
- Netbeans profiler tutorial
这篇关于推荐一个好的JSF分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!