Working with the class server

Asaf Lahav <[email protected]> Sun, 3 Aug 2008 17:14:51 +0300
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
I need some clarification on how to employ the class server.

I have a couple of jvm's. one writing entries and the other taking them.

The entry class I'm using is very simple:

 

import net.jini.entry.AbstractEntry;

public class JavaspaceTaggingEntry extends AbstractEntry{

                private static final long serialVersionUID =
-1559963129857857100L;

                public String myName = null;

}

 

The writer jvm, naturally has the entry class definitions in its class path.
The taker doesn't.

I tried putting the entry jar into the lib-dl folder under the jinni started
kit and made sure the Class Server server points to it so it would be
available through it.

The problem is that when I attempt to take the entry, I got a class not
found exception.

 

What is the right way to employ the class server?

 

 

 

 

 


--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]