add a remote jar to classpath

C

cyberco

Is it possible to add a jar residing on a remote webserver to the
classpath of an application that I run locally?
 
R

Roedy Green

Is it possible to add a jar residing on a remote webserver to the
classpath of an application that I run locally?

no. The things you put on the classpath are files, not URLS. To pull
that off you need to use a custom classloader. There is one already
written just for that.
 
A

aneel

There is a concept called URL classloading. You can see JBoss source to
get started.
google:"URL Classloading"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top