BEA WebLogic Server 7 Uživatelský manuál Strana 7

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 63
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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";
}
Zobrazit stránku 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 62 63

Komentáře k této Příručce

Žádné komentáře