Running the JWSNAME Web Service From WebLogic Workshop
Display the end time of execution to the WEBLOGIC CONSOLE
//Calculating the difference (execution time)
//Displaying the execution time to the WEBLOGIC Console
//writing to file
out.write("end time: "+cal_end.getTimeInMillis()+"\n");
out.write("execution time : "+diff+"\n");
out.close(); //closing file
}
}
The results of the execution are saved in a file as follows:
start time: 1073598362655
end time: 1073598362775
execution time : 120
Running the JWSNAME Web Service for an RFC
The following procedure describes how to run the JWSNAME for a Remote Function Call
(RFC). You first must ensure that WebLogic Server is running. For more information on
confirming that WebLogic Server is running, see Confirming WebLogic Server is Running and
How to Start WebLogic Server.
C-18
System.out.println("<<<< end: "+ cal_end.getTimeInMillis());
diff=cal_end.getTimeInMillis()-cal_start.getTimeInMillis();
System.out.println("<<<< EXECUTION time in Milliseconds:" +diff);
out.write( "start time: "+ cal_start.getTimeInMillis()+"\n");
BEA Systems, Inc.
Need help?
Do you have a question about the WebLogic and is the answer not in the manual?