public String listWonItems(Integer userId, ItemHome iHome, QueryHome qHome)
public String listWonItems(Integer userId, ItemHome iHome, QueryHome qHome) throws RemoteException
  public String listWonItems(Integer userId, ItemHome iHome, QueryHome qHome)   {    Enumeration wonList=null;    Query       q;    Item        item;    float       price;    String      name;    String      html;    // Get the list of the user's won items    try     {      q = qHome.create();      wonList = q.getUserWonItems(userId).elements();    }    catch (Exception e)    {      throw new EJBException("Exception getting won items list: " +e+"<br>");    }    if ((wonList == null) || (!wonList.hasMoreElements()))    {      html = "<br>";      html = html.concat("<h3>You didn't win any item in the last 30 days.</h3>");      html = html.concat("<br>");      return html;    }    html = printUserWonItemHeader();    while (wonList.hasMoreElements())     {      // Get the name of the items      try      {        item = iHome.findByPrimaryKey((ItemPK)wonList.nextElement());        // display information about the item        html = html.concat(item.printUserWonItem());      }      catch (Exception e)       {        throw new EJBException("Exception getting item: " + e +"<br>");      }    }    html = html.concat(printItemFooter());    return html;  }