One really simple example is the zipFileNew() UDF I wrote -- it uses the
built-in Java zip libraries to create a zip file.

You can see the code here:

http://cflib.org/udf.cfm?ID=744

I've found that the java.io.File object is really handy for certain tasks
that would be less elegant to do in CF.  I've also worked with java objects
that do encryption, used in a similar way.

At BACFUG a while back, Matt Liotta showed a CFC that wrapped a java imaging
library to do things like make thumbnails of images.  That's potentially a
good model for teams that have a diverse set of skills -- java programmers
can build back-end tools, cf programmers can put together CFC/Custom Tag
APIs that encapsulate the complexity of the java, and page designers can use
the CFCs/Custom Tags to make pages.




> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Nando
> Sent: Sunday, May 09, 2004 3: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