正在加载图片...
方法定义 //used by the HelloApp application ote interface of an enterprise bean /The code is used to create the re import javax.ejb. import java rmi K, public interface Hello extends EJBObject String sayHello(String MyName)throws RemoteExdeption; Remote接口用来定义 enterprise bean的商业方 n本例中仅包含一个商业方法的定义— say Hello方法定义 //The code is used to create the remote interface of an enterprise bean //used by the HelloApp application import javax.ejb.*; import java.rmi.*; public interface Hello extends EJBObject { String sayHello(String MyName) throws RemoteException; } ◼ Remote接口用来定义enterprise bean的商业方 ◼ 本例中仅包含一个商业方法的定义——sayHello
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有