If you're doing log-file processing it can be a REAL performance boon to use
a Java File Streamer rather than CFFILE (which brings the entire file into
memory).

Also using Java directly will let you do things like get the height and
width of an image programmatically.  You've also got full access to the raw
socket layer for those few times in life when you need it.  Full access to
the Java Encryption libraries is also very handy.

Basically there's loads of stuff that you might need infrequently that Java,
but not CF, provides.

Jim Davis

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Nando
> Sent: Sunday, May 09, 2004 6:58 PM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev] Java in CF?
> 
> I've been studying a little Java and i was wondering if / how people are
> using it in
> CF. I see you can create java objects:
> 
> "Any Java class available in the class path that is specified in the
> ColdFusion
> Administrator can be loaded and used from ColdFusion with the CreateObject
> function."
> 
> Advantages? Uses? ??



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to