Profiling J2EE applications is similar to profiling Java™ applications, as described in the "Getting started" topics, but there are small differences, and you must perform special preliminary operations before you start.
You can collect data from within the Rational Application Developer environment for J2EE applications that are running on an application server such as the WebSphere Application Server.
Prerequisite: Agent Controller must be running on the host machine where you intend to run the target application.
After you have detached from a J2EE application that you have been profiling, you can reattach to it and continue collecting profiling data.
You can also collect data from Java applications (including J2EE applications) that you can start outside of the Rational Application Developer environment with piAgent in enabled mode.