BEA WebLogic Server 7 Manual de usuario Pagina 17

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 63
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 62 63

Comentarios a estos manuales

Sin comentarios