//eve pokua package machinedetails2; import javax.ejb.Remote; import java.util.List; /** * This is the business interface for Usersbean enterprise bean. */ //decoding interface definetion //the converter requires this annotation, //which says client will be accessing this remotely @Remote public interface UsersRemote{ //For entering new user into the DB public void createUser(); //public Usersent(String userid, String Firstname, String Surname, String Password ); //public Usersent getUserlogindet(String firstname); /** * call the Usersent contructor, using the getUserlogindet * defined in remote interface, retrive the user's details after * login */ machinedetails2.Usersent getUserlogindet(String userid, String Password); machinedetails2.Usersent getUserlogindet(String userid); machinedetails2.Usersent searchbyusername(String userid); void createUser(String userid, String firstname, String surname, String password); }