BEA WebLogic Server 7 Bedienungsanleitung Seite 26

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 63
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 25
EJB
Development Using Borland
®
JBuilder
®
8 and BEA WebLogic Server
7.0
26
To change the package name, click the entity bean Employee, click classes and packages
from the Bean Properties window and enter the package name as com.borland.demo.ejb in
the Default package field of Class Definitions window. Click OK.
Note: JBuilder creates the EJB files Employee.java, EmployeeBean.java, and EmployeeHome.java
in the package com.borland.demo.ejb. To check the source code, right-click the entity bean
Employee and click View bean source.
Create a session bean
Please refer to the previous chapter “Working with session beans” for details on how to create
a session bean.
For this exercise, enter the name of the session bean as EmployeeSes and the package name
as com.borland.demo.ejb.
Add a method (right-click EmployeeSes in the editor pane, click add, click method) to
EmployeeSes and provide the following parameters.
Method name: getEmpName
Return type: String
Input parameters: Short empNo
Interfaces: remote
See Figure 16 for details.
Seitenansicht 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 62 63

Kommentare zu diesen Handbüchern

Keine Kommentare