pricer.java
来自「java编程最好的书籍,感觉对初学者或者中级java人员帮助很大」· Java 代码 · 共 24 行
JAVA
24 行
package examples;
import javax.ejb.*;
import java.rmi.RemoteException;
import java.rmi.Remote;
/**
* These are the business logic methods exposed publicly
* by PricerBean.
*
* This interface is what clients operate on when they
* interact with beans. The container vendor will
* implement this interface; the implementation object is
* called the EJB Object, which delegates invocations to
* the actual bean.
*/
public interface Pricer extends EJBObject {
/**
* Computes the price of a set of goods
*/
public void price(Cart cart) throws RemoteException, PricerException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?