May 2001
Intermediate to advanced
1088 pages
30h 13m
English
Debugging an EJB can be a simple task, or it can be a nightmare. Some EJB containers allow you to use a debugger easily, while others require you to jump through hoops. Some containers even come with their own debuggers that can plug right into the beans almost effortlessly. For most containers, however, you must use a fairly standard debugging technique. Basically, you put the Java Virtual Machine into debugging mode and then attach a remote debugger to the program.
To use remote debugging with any Java program, you must include the -debug flag in the java command. Most Java 1.1 Virtual Machines automatically turn off the Just-In-Time compiler when they see -debug, but the standard Java2 ...
Read now
Unlock full access