BEA WebLogic Server 7 Manual de usuario Pagina 7

  • 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 6
EJB
Development Using Borland
®
JBuilder
®
8 and BEA WebLogic Server
7.0
7
Figure 2: Creating a session bean visually using JBuilder visual EJB designer
To add a method in the session bean, right-click TestSes. Click Add. Click Method. Enter the
method name as getMessage(), return type as string and interfaces as remote.
Right-click the EJB TestSes and click View Bean Source. This opens up the
TestSesBean.java file in the JBuilder editor pane.
Change the method getMessage() as follows.
public String getMessage() {
return "Testing Successful";
}
Vista de pagina 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 62 63

Comentarios a estos manuales

Sin comentarios