problem with distribuited events

Bulzan Stefan <[email protected]> Sat, 12 Apr 2008 05:08:46 -0600
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <LISTSERV%[email protected]>
I'm new in using Javaspaces. So, please help :)

I have the next class:

public class Listener implements RemoteEventListener  {
    private JavaSpace space;

    public Listener(JavaSpace space) throws RemoteException {
        this.space =3D space;
        UnicastRemoteObject.exportObject(this);
    }

    public void notify(RemoteEvent ev) { ... }
}

an java.rmi.StubNotFoundException: Stub class not found: main.Listener_St=
ub
is thrown.

What should I do to publish this class as a distributed event listener?
Should I make a stub with rmic ?=20
Please tell me the process for setting up the Remote event listener.

Thank you.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html