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

📄 shoppingfacade.java

📁 《J2EE企业级应用开发》一书的配套源代码
💻 JAVA
字号:
package com.j2eeapp.cdstore.cart;

import com.j2eeapp.cdstore.customer.CustomerLocal;

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

public interface ShoppingFacade extends EJBObject
{
    
    /**
     * @J2EE_METHOD  --  setUserId
     */
    public void setUserId    (String userId) throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  getUserId
     */
    public String getUserId    () throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  getShoppingCart
     */
    public ShoppingCart getShoppingCart    () throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  getCustomer
     */
    public CustomerLocal getCustomer    () throws RemoteException;
    
    /**
     * @J2EE_METHOD  --  createCustomer
     */
    public CustomerLocal createCustomer    () throws RemoteException;
}

⌨️ 快捷键说明

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