Re: Reggie having problems with net.jini.entry.AbstractEntry

Gregg Wonderly <[email protected]> Wed, 19 Dec 2007 12:39:49 -0600
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Stephen Green wrote:
> Bob Scheifler wrote:
>>> Interestingly, I'm not seeing reggie ask for the InstanceEntry class 
>>> file from my local ClassServer
>>
>> If you mean reggie the server, you shouldn't; registration items
>> get transmitted and stored by reggie in marshalled form, so class
>> loading shouldn't occur there.  Reggie's proxy should do class loading.
> 
> Sorry, I meant that the local class server wasn't reporting that the 
> class was being requested by someone else.

This would imply that you Entry class is in the classpath of everyone (not 
necessarily a bad thing) and that jsk-lib.jar is in the classpath too (now)
and thus everything is being resolved.

 From a general jini perspective, a codebase really should exist which defines 
every class that a proxy/remote reference refers to so that applications using a 
service in one context need not worry about the definition of classes that the 
do not use, and thus do not include in their own codebase.  This gets back to 
what is your "platform"; i.e what classes must exist in everyones classpath vs 
what things are downloaded.

Gregg Wonderly

--------------------------------------------------------------------------
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]