public String getUserInfo(Integer userId)
public String getUserInfo(Integer userId) throws RemoteException
  public String getUserInfo(Integer userId)  {    String       html = "";    UserHome     uHome = null;    User         user = null;     // Try to find the user corresponding to the userId    try     {      uHome = (UserHome)PortableRemoteObject.narrow(initialContext.lookup("java:comp/env/ejb/User"),                                                    UserHome.class);    }     catch (Exception e)    {      throw new EJBException("Cannot lookup User: " +e+"<br>");    }    try    {      user = uHome.findByPrimaryKey(new UserPK(userId));      html = html .concat(user.getHTMLGeneralUserInformation());      html = html.concat(getComments(uHome, userId));    }    catch (Exception e)    {      throw new EJBException("Cannot get user information (got exception: " +e+")<br>");    }    return html;  }