package csis626;
import java.rmi.*;

/**
   Remote Interface
*/
public interface DBInterface extends Remote 
{
   /**
      Remotely invocable method that returns the HTML string
      containing the Student Personal Info
      @return the HTML string containing the Student Personal Info
      @exception RemoteException if the remote invocation fails.
   */
   public String getPersonalInfo() throws RemoteException;

   /**
      Remotely invocable method that returns true if user is valid
      and false if user is not valid
      @return the boolean indicating if user is valid
      @exception RemoteException if the remote invocation fails.
   */
	public boolean isValidUser(String id, String pw) throws RemoteException;


}


