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

📄 machinehome.java

📁 学习EJB的很好范例
💻 JAVA
字号:
package com.wiley.compBooks.roman.session.fazuul;

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

/**
 * This is the home interface for MachineBean.  This interface is implemented
 * by the EJB Server's glue-code tools - the implemented object is called
 * the Home Object, and serves as a factory for EJB Objects.
 * 
 * One create() method is in this Home Interface, which corresponds to the
 * ejbCreate() method in the MachineBean file.
 */
public interface MachineHome extends EJBHome {

   /*
    * This method creates the EJB Object.
    *
    * @return The newly created EJB Object.
    */
   public Machine create() throws RemoteException, CreateException;
}

⌨️ 快捷键说明

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