BEA WebLogic Server 7 Instrukcja Użytkownika Strona 17

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 16
EJB
Development Using Borland
®
JBuilder
®
8 and BEA WebLogic Server
7.0
17
Expand the package com.borland.demo.ejb and change the main() method of
TestSesTestClient.java as follows.
public static void main(String[] args) {
TestSesTestClient client = new TestSesTestClient();
try {
client.create();
String message = client.getMessage();
System.out.println("Message from the Test Client = " + message);
}
catch (Exception ex) {
}
}
Make the TestSesTestClient.java (right-click TestSesTestClient.java and click Make) to
make sure that there are no compilation errors.
Run the test client
To run the test client, right-click TestSesTestClient.java, click Run using
TestSesTestClient. Alternatively, you can just click the Run icon and click
TestSesTestClient to run the test client.
See Figure 10 shows the test client running within JBuilder.
Przeglądanie stron 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 62 63

Komentarze do niniejszej Instrukcji

Brak uwag