⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 product.java

📁 为大家提供了《精通EJB》(第三版)一书的源代码
💻 JAVA
字号:
package examples.cmp;import javax.ejb.*;import java.rmi.RemoteException;/** * These remote interface with public business methods of ProductBean. * * This interface is what remote clients operate on when they interact * with beans. The EJB Server vendor will implement this interface; * the implemented object instance is called the EJB Object, which * delegates invocations to instances of the ProductBean class. */public interface Product     extends EJBObject {    // Getter/setter methods for Entity Bean fields        public String getName() throws RemoteException;    public void setName(String name) throws RemoteException;        public String getDescription() throws RemoteException;    public void setDescription(String description) throws RemoteException;        public double getBasePrice() throws RemoteException;    public void setBasePrice(double price) throws RemoteException;        public String getProductID() throws RemoteException;}

⌨️ 快捷键说明

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