hello all,
im trying out examples for java rmi but am having a problem.. the skeleton is not being generated, only the stub is generated.
i have an example with the following classes:
Account.java( which is the interface definition)
AccountImpl.jav a (contains implementation for the remote interface)
AccountServer.j ava
AccountClient.j ava
i have already set my classpath, etc..
to compile i did the following:
javac Account.java
javac AccountImpl.jav a
javac AccountServer.j ava
javac AccountClient.j ava
rmic AccountImpl
To run:
start rmiregistry
java -Djava.security. policy=mypolicy AccountServer
java -Djava.security. policy=mypolicy AccountClient
mypolicy is the name of my file where i have stored the policy thing..
when i look in my folder after compiling and running the program i find the AccountImpl_Stu b class but i dont find the skeleton!!
how do i generate the skeleton???
i have tried other examples also but its the same
plzz help
thx
im trying out examples for java rmi but am having a problem.. the skeleton is not being generated, only the stub is generated.
i have an example with the following classes:
Account.java( which is the interface definition)
AccountImpl.jav a (contains implementation for the remote interface)
AccountServer.j ava
AccountClient.j ava
i have already set my classpath, etc..
to compile i did the following:
javac Account.java
javac AccountImpl.jav a
javac AccountServer.j ava
javac AccountClient.j ava
rmic AccountImpl
To run:
start rmiregistry
java -Djava.security. policy=mypolicy AccountServer
java -Djava.security. policy=mypolicy AccountClient
mypolicy is the name of my file where i have stored the policy thing..
when i look in my folder after compiling and running the program i find the AccountImpl_Stu b class but i dont find the skeleton!!
how do i generate the skeleton???
i have tried other examples also but its the same
plzz help
thx
Comment