Ben,

All the forName() method does is return an object of type Class -
which doesn't actually give you a instance of the object. A Class
Object is only basically a descriptor that tells you about the class
the you want to look at.

You can get an instance of the object from the class, but passing
arguments into Contructors is a real pain the rear through reflection
- hence leveraging JavaProxy makes sense as the CF developers already
did the hard work to do the required translation from CF to Java for
us.

Does that make sense?

Mark

On 12/5/06, Ben Nadel <[EMAIL PROTECTED]> wrote:
> Hey Mark, I though maybe the class method of the CLASS object,
> CLASS::ForName( strName, blnInitialize, objClassLoader) would work in
> the same way as the JavaProxy object. But, it doesn't seem to. Can you
> offer any insight into this?
>
>
> ......................
> Ben Nadel
> Certified Advanced ColdFusion MX7 Developer
> www.bennadel.com
>
> Need ColdFusion Help?
> www.bennadel.com/ask-ben/
>
> -----Original Message-----
> From: Mark Mandel [mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 02, 2006 1:31 AM
> To: CF-Talk
> Subject: Re: coldfusion.runtime.java.JavaProxy
>
> Ben -
>
> I've been using it for a while with JavaLoader -
>
> Have a look:
> http://www.compoundtheory.com/?action=displayCategory&ID=22
>
> Enjoy!
>
> Mark
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262820
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to