This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to measure the performance or Profile an application without using an IDE  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Our application is an .ear application . We are not using any IDE for development .just using EditPlus and we are using Weblogic11g as our server .

I have seen a lot of tools for profiling while googling but they work only in combination of an IDE only .

So please let me know is there anyway or tool so that i can measure the performance of my application as there is no IDE.

Thanks in advance , waiting for your suggestions.



 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open source JAmon is a good place to start.

This site reviews a bunch of profilers

Also you can embed simple timing data collection based on the standard Java library method - System.currentTimeMillis().

Bill
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also try adding the -Xprof JVM option to the command line. The output takes a little bit of effort to get used to, but it can be handy in some cases.
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jamon let's you monitor servlets/jsp's, sql, and ejb's without chaning your code.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much .

Atlast i found out that only Jamon is the only solution for me now .

But i am thinking about its learning curve again i need t learn its API for profiling.
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't much of an api. You can monitor jdbc, ejb's and servlets via configuration of standard files. Post any questions you have on the jamon forum and I will answer them.

Simply install the jamon jar at the server level of jboss. Install the jamon war (so you can view statistics).

Here are steps how you can get jamon working. I would pick one of them so you can get the hang of what the tool can do...

* jdbc - http://jamonapi.sourceforge.net/#WhatsNew22
* servlet filter or server valve - http://jamonapi.sourceforge.net/http_monitoring.html
* ejb's - http://jamonapi.sourceforge.net/#ejbmonitoring
* interface monitoring - http://jamonapi.sourceforge.net/#monitoringinterfaces
* log4j - http://jamonapi.sourceforge.net/log4j_jamonappender.html

If you choose to monitor your code directly too you could use AOP so you don't have to change code, or you can use the following coding style. The downside of the following approach is that you would have to change your code.



The "yourLabel" monitor will now be viewable in the "jamon.war" file.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you steve very much for your time .Certainly need your help on this .

I will allocate all my sunday to Jamon API , and work on that.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!