 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| s |
Remote
Interface 繼承自 javax.ejb.EJBObject
|
|
|
| s |
Remote
Interface 定義一個提供用戶端應用程式叫
|
|
|
用 Interface
|
|
|
|
n |
必須包含 Enterprise Bean 中實作 Business Logic 之 public
|
|
|
method 的宣告
|
|
|
|
n |
所有方法都將產生 Remote Exception 以預防網路間通訊
|
|
發生非預期之狀況
|
|
|
|
n |
可由 JBuilder 3.5 自動產生介面程式碼或自行撰寫
|
|
|
| s |
命名慣例
|
|
|
|
n |
Enterprise
Bean 名稱去掉 ‘Bean’
|
|
|
|
l |
例如. 若 Enterprise Bean 名為 PingBean 則對應之 Remote Interface
|
|
命名為 Ping
|
|