File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Dynamic loading of class in RMI
Joined: Mar 01, 2010
Mar 10, 2010 15:03:32
I create a interface...and implement in SERVER ....
when i RUN client i got Exception CLASS DEF NOT FOUND....
FIRST I START WEB SERVER
then i start rmi registry
then i start Server
3) ---->java -Djava.rmi.server.codebase=http://localhost:8080/ WarehouseServer
then i start client
4) ---->java WarehouseClient
when i run client then i got exception class name not found.....because i use Interface object in client code......
SO HOW DYNAMIC DOWNLOADING CLASS IS DONE???
if I Manually Copy CLASS file IN CLIENT directory then program successfully run.......
PLEAZE TELL ME HOW TO do a DYNAMIC DOWNLOADING CLASS.......
Joined: Jul 29, 2008
Mar 15, 2010 04:16:54
Welcome to JavaRanch.
Let's continue the discussion in your
. I'm locking this one.
Author of ExamLab
- a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like?
How to Ask a Question
I agree. Here's the link:
subject: Dynamic loading of class in RMI
HF - What goes where question
Running a RMI Application
how to load class dynamically from another location In RMI
Dynamic Loading Class in RMI
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014