Is there any wrong in this Remote

Discussions

EJB design: Is there any wrong in this Remote

  1. Is there any wrong in this Remote (3 messages)

    package pslist;


    import java.rmi.RemoteException;


    public interface Pslist extends javax.ejb.EJBObject

    {

    public int getTaskId() throws RemoteException;

    public int getTaskPriority() throws RemoteException;

    public int getQueueNo() throws RemoteException;

    public void setTaskid(int taskId) throws RemoteException;

    public void setTaskPriority(int taskPriority) throws RemoteException;

    public void setQueueNo(int queueNo) throws RemoteException;

    public void test(String str) throws RemoteException;

    }







  2. Is there any wrong in this Remote[ Go to top ]

    Hi yugs,

    You should have the following import statement for the EJBObject interface.

    import javax.ejb.EJBObject;

    Srinivas
  3. since you extend javax.ejb.EJBObject you are fine without the import statement...
  4. Rajesh,

    Thanks !! I overlooked it..

    Srinivas