OK, now we're getting somewhere! I opened the jar file and the Agent class was three 
levels down....new term for today is namespace.

Many thanks guys,

Douglas

-----Original Message-----
From: Paul Johnston [mailto:[EMAIL PROTECTED]]
Sent: 24 January 2003 12:40
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Java in CF


> The path is the namespace

If there is no path, just reference the class file "Agent"

> 
> The filename minus the .class extension is the object name so 
> therefore:
> 
>  com.somewhere.namespace.Agent
> 
> Will load up the object:
> 
> dcAgent = createObject("java","com.somewhere.namespace.Agent");
> 
> NOTE: Case sensitivity is very important in Java.  You can 
> have three classes called the same thing in Java (although 
> not in windows) like abc.class, ABC.class and aBc.class and 
> these are different to Java.
> 
> Paul
> 
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> 




-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to