*
The moose likes Distributed Java and the fly likes What is possible with RMI dynamic classloading? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "What is possible with RMI dynamic classloading?" Watch "What is possible with RMI dynamic classloading?" New topic
Author

What is possible with RMI dynamic classloading?

Douglas Waights
Greenhorn

Joined: Nov 22, 2005
Posts: 1
Is it possible to have a client load all of its necessary classes at runtime from a server (HTTP server). I've tried doing this after setting the codebase but all I get is the trusty ClassNotFoundException...

If I put the interface and client classes on the client machine I can dynamically get the stub and all works fine....

I'm under the impression I should be able to load everything dymanically.

What am I missing?

Thanks for your help!

This further to a posting over on the sun forums where I haven't managed to get a response yet http://forum.java.sun.com/thread.jspa?threadID=684099&tstart=0
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What is possible with RMI dynamic classloading?
 
Similar Threads
OracleConnection
Exception when reading image( using getBLOB ) from database
exception
The TDS prelogin response is incomplete
Getting classes in a package programatically