BEA WebLogic Server 7 Instrukcja Użytkownika Strona 7

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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";
}
Przeglądanie stron 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 62 63

Komentarze do niniejszej Instrukcji

Brak uwag