Re: Scaling Reggie

Dennis Reedy <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
>
> There is one case though I can think of where Reggie does create class
> loaders and that is with the registration of the remote event
> listeners
> for receiving service discovery events [1]. So in case the service
> with
> a codebase referring to 90MB of JAR file(s) is registering for
> receiving
> events a class loader is created in the JVM Reggie is running

After doing some digging into the proxy that is downloaded to the 800
+ clients, it appears that the proxy is creating a SDM along with  a
LookupCache using:

sdm.createLookupCache(template, null, null);

The ServiceDiscoveryManager.LookupCacheImpl.LookupListener creates an
exporter and exports itself:

lookupListenerProxy = (RemoteEventListener)
lookupListenerExporter.export(this);

Is it possible that the codebase from the proxy is being used here?

Dennis

--------------------------------------------------------------------------
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.