remote service
Mark <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi everybody
I have this question:
How can I set my environment to use a remote service?
I put my service on my web-server Apache's folder
In the client's folder I put the file ServerInterface,
I launch the client writing :
java -classpath %JINI_CLASSPATH%; -
Djava.rmi.server.codebase=http://localhost:80/ -
Djava.security.policy=policy.all Main
Should I create the file Server-Stub?
this is the policy file:
grant
{ permission java.security.AllPermission "", "";
};
Thank you
Mark
--------------------------------------------------------------------------
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]