Interstage Application Server J2EE ユーザーズガイド
|
目次
索引

|
12.4.1 記述例
SampleRemoteという名前のインタフェースを設定した場合の例を以下に示します。
package Sample;
import java.rmi.RemoteException;
import javax.ejb.*;
public interface SampleRemote extends EJBObject
{
/* ビジネスメソッドの定義 */
public String getName() throws RemoteException;
public String getDesc() throws RemoteException;
public void setName(String NameValue) throws RemoteException;
public void setDesc(String DescValue) throws RemoteException;
}
All Rights Reserved, Copyright(C) 富士通株式会社 2005