简体   繁体   English

用于webservice的Java分析器工具

[英]Java profiler tool for webservice

I am building a project which runs in SOA architecture. 我正在构建一个在SOA架构中运行的项目。 It is implemented with jersey framework and runs on embedded Jetty server. 它使用jersey框架实现,并在嵌入式Jetty服务器上运行。 Is there any Java profiler that can be used for such a setup that is easily pluggable? 是否有任何Java分析器可用于这种易于插拔的设置?

Any Java profiler will be able to profile the VM that runs the embedded Jetty server. 任何Java探查器都能够分析运行嵌入式Jetty服务器的VM。 As for being "pluggable", most modern profilers can attach to Java 6+ JVMs without any special startup command modifications. 至于“可插拔”,大多数现代分析器可以附加到Java 6+ JVM而无需任何特殊的启动命令修改。

Apart from visualVM , I recommend JProfiler , whose servlet probe will show you all invoked URLs. 除了visualVM之外 ,我还推荐使用JProfiler ,它的servlet探针会显示所有被调用的URL。 In the servlet probe, you can configure which parts of the URL are retained, so that you get a useful hot spot definition. 在servlet探针中,您可以配置保留URL的哪些部分,以便获得有用的热点定义。

servlet探针设置

Disclaimer: My company develops JProfiler. 免责声明:我公司开发JProfiler。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM