E
ebby83
Hi all,
I am trying to compile the proxy and stub for the following Calendar
file
package com.ebby.server.process;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import com.ebby.server.objects.Event;
import com.ebby.server.objects.Group;
import com.ebby.server.objects.TimeRange;
import com.ebby.server.objects.User;
public class Calendar extends UnicastRemoteObject implements ICalendar
{
protected Calendar() throws RemoteException {
super();
// TODO Auto-generated constructor stub
}
public Event[] retreive_event(User u, TimeRange t) { // from ICalendar
// TODO Auto-generated method stub
return null;
}
public boolean schedule_event(Group g, TimeRange t, boolean publice) {
// from ICalendar
// TODO Auto-generated method stub
return false;
}
}
I use the following command to generate the files .
C:\Documents and Settings\workspace\WS>rmic -d . -classpath .
com.ebby.server.process.Calendar
But this produces only 1 stub file and no proxy(skel) file . Can any
one help me out with this.
I am trying to compile the proxy and stub for the following Calendar
file
package com.ebby.server.process;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import com.ebby.server.objects.Event;
import com.ebby.server.objects.Group;
import com.ebby.server.objects.TimeRange;
import com.ebby.server.objects.User;
public class Calendar extends UnicastRemoteObject implements ICalendar
{
protected Calendar() throws RemoteException {
super();
// TODO Auto-generated constructor stub
}
public Event[] retreive_event(User u, TimeRange t) { // from ICalendar
// TODO Auto-generated method stub
return null;
}
public boolean schedule_event(Group g, TimeRange t, boolean publice) {
// from ICalendar
// TODO Auto-generated method stub
return false;
}
}
I use the following command to generate the files .
C:\Documents and Settings\workspace\WS>rmic -d . -classpath .
com.ebby.server.process.Calendar
But this produces only 1 stub file and no proxy(skel) file . Can any
one help me out with this.