
EJB
™
Development Using Borland
®
JBuilder
®
8 and BEA WebLogic Server
™
7.0
40
Assign breakpoints
Assign breakpoints to the entity bean and session bean to test the remote debugging as
follows:
Breakpoint 1
File name: EmployeeSessionBean.java
Line Description : javax.naming.Context context = new javax.naming.InitialContext();
Breakpoint 2
File name: EmployeeBean.java
Line Description : public abstract java.lang.String getFirstName();
Run WebLogic Server in debug mode outside of JBuilder
Start a MS-DOS window, go to directory E:\bea\user_projects\mydomain and type
startRemoteWebLogic.
If WebLogic Server has started successfully, you will see the following message from
WebLogic Server window:
<Notice> <WebLogicServer> <000360> <Server started in RUNNING mode>
See Figure 24 for details.
Komentáře k této Příručce