Re: Adding an attribute to the javaspace05 service instance
Gregg Wonderly <[email protected]> Wed, 9 Jul 2008 11:02:36 -0500
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Asaf Lahav wrote: > *Where should I place the jar with the class definition of MyEntry so > that the jini server would be able to get its definition (I'm not > interested in using the code download feature. I would rather install it > somewhere on the server statically)?* It simply a matter of including the jar in EVERYONEs classpath. It's not just the service who has that attribute that needs it. Everyone that downloads the services registration attributes from the lookup service will need it too. Putting it out on a web server, and then having the client that adds it, resolve it correctly two such a classloader would be the way to make the code downloading work. Otherwise, every client of this service will need it in their classpath. 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]