JBoss Community

Re: EJB bean is not working in Multi threading of JBoss 7.1.1 Final

created by Bijoy James in JBoss AS 7 Development - View the full discussion

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?

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community