Forgot to mention the issues in that last message.

The main issue is the speed. It will take quite a lot longer to load
classes with the URLClassLoader than if they are on the classpath. The
other one is having to add all of the paths and jars to the array you
use to initialize the URLClassLoader.

Speed can sometimes be overcome by caching the instantiated objects
depending on the objects themselves. The adding of paths and JARs is
just a matter of knowing what your java code is referencing.

Spike

Joshua OConnor-Rose wrote:
> Just got some new information on the project.
>
> Evidently the client is using a shared server and they
> have some rules.
>
> Is in possible in CF to use createObject or cfinvoke
> or cfobject to access java classes or .jar without
> them being configured in the class path.
>
> -Joshua O'Connor-Rose
> -All is Good
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to