Below i pasted the code of the Home interface class
package Home;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
import Remote.JMSRARemote;
public interface JMSRAHome extends EJBHome{
public JMSRARemote create() throws RemoteException, CreateException;
}
And below is the code for Remote class
package Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Vector;
import javax.ejb.EJBObject;
public interface JMSRARemote extends EJBObject{
public String ReadTxnFromInputQueueString(String strQName)throws RemoteException;
}
Is this code is correct?