Nicolas
Nicolas

Reputation: 269

Load Class files over the network with Reflections

Is there a way to use a reflection over the network like "wwww.domain.com/codes/MyClass.Class"

We have got a server, where we save the code, and on the other server we run the program and load different code from the first server.

Thank

Upvotes: 2

Views: 495

Answers (2)

mihsathe
mihsathe

Reputation: 9154

Java provides RMI for doing what you need to do.

http://www.oracle.com/technetwork/java/javase/tech/index-jsp-136424.html

Upvotes: 0

NPE
NPE

Reputation: 500923

It sounds like you're looking for URLClassLoader.

Upvotes: 5

Related Questions