1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 /** 7 * This is the Remote Interface of the SB_BuyNow Bean 8 * @author <a HREF="mailto:cecchet@rice.edu">Emmanuel Cecchet</a> and <a HREF="mailto:julie.marguerite@inrialpes.fr">Julie Marguerite</a> 9 * @version 1.1 10 */ 11 public interface SB_BuyNow extends EJBObject, Remote { 12 13 /** 14 * Authenticate the user and get the information to build the html form. 15 * 16 * @return a string in html format 17 * @since 1.1 18 */ 19 public String getBuyNowForm(Integer itemId, String username, String password) throws RemoteException; 20 21 22 } 23