Adrian J. Moreno said the following on 3/4/2007 3:51 PM: > as long as the methods are related to each other, there's no reason to > split them up. However, there is an issue where the size of the file > can be too large. IIRC, java has a limit on compiled class files > (64k?). Therefore, if you just have too much code in a single CFC, > you'll get an error when you try to run it. Due to how CFCs are complied, CF takes each method (cffunction) and creates it's own class file so this limit would be difficult to reach. That's why you see files like this in cfclasses folder: cfaddressBean2ecfc595432978$funcSETCITY.class That's the setCity() method in an AddressBean.cfc in one of my applications. You'd have to have an extremely large method to reach the limit. Theoretically improbable IMO (and I'm not sure if there is a limit in the first place nor what size it would be)...
.pjf -- Peter J. Farrell - Maestro Publishing http://blog.maestropublishing.com -- Co-Host of the ColdFusion Weekly Podcast http://www.coldfusionweekly.com You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
