Usually with a standard trace package (like Log4J or the JDK 1.4 logging facility) that appends a
thread ID to each trace file entry. That way you can separate out each use case by thread, since each
EJB method is guaranteed by the container to execute on a single thread.
Kyle