hello.java

来自「学习EJB的很好范例」· Java 代码 · 共 23 行

JAVA
23
字号
package com.wiley.compBooks.roman.session.helloworld;

import javax.ejb.*;
import java.rmi.RemoteException;
import java.rmi.Remote;

/**
 * This is the HelloBean remote interface.
 *
 * This interface is what clients operate on when
 * they interact with EJB objects.  The container
 * vendor will implement this interface; the
 * implemented object is the EJB object, which
 * delegates invocations to the actual bean.
 */
public interface Hello extends EJBObject {

  /**
   * The one method - hello - returns a greeting to the client.
   */
  public String hello() throws RemoteException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?