This tutorial explains how to profile EJBs and JSPs running with J2EE.
In this document:

 <OptItDir> is the directory where OptimizeIt has been installed (ex: c:\OptimizeIt\OptimizeIt311).
  <J2EEDir> is the directory where J2EE has been installed (ex: c:\j2sdkee1.2).
 

1) Configuring J2EE

2) Creating the j2eeOptIt.bat batch file

3) Starting J2EE and attaching from OptimizeIt

You can now start J2EE in OptimizeIt audit system by launching j2eeOptIt.bat.
Now that J2EE is running with OptimizeIt profiler, you can start OptimizeIt and attach to the virtual machine: Note: OptimizeIt does not have a "detach" function. If you press the stop button in OptimizeIt, J2EE exits.

Copyright (c) 1997, 1998, 1999 Intuitive Systems Inc. All rights reserved. Specifications subject to change without notice.
OptimizeIt is a trademark of Intuitive Systems, Inc.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. All other brand
names and products are trademarks or registered trademarks of their respective holders.