2 Replies Latest reply on Nov 13, 2005 3:27 PM by Joachim Van der Auwera

    Slow first time execution. Need to preload?

    madeonmoon Newbie

      Hello all,

      I have a J2EE app deployed in Jboss and most of the processing is done within JMS components (via message-drive beans). I've heard user complains saying that the first time a particular jms message is processed, processing times are significantly slower than subsequent runs (8 seconds vs 200 milliseconds). I am not sure where exactly the bottleneck could be.

      Can anyone please:

      1) suggest how to profile the app run to see what part of the code takes long to execute upon first run?

      2) ideas on determining the bottlenecks during first time execution

      3) give pointers on pre-loading J2EE components, etc

      Thanks a lot
      James