> are you saying theres a java limit on the size of a method?
Yes.

> Also is a method generated for every case in a switch
> statement?

No.

That would be nice, but no.

<cfswitch expression="#a#">
        <cfcase value="1">bla</cfcase>
</cfswitch>

equals

switch(a){
        case 1: write.out("bla");
}



-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 12:52 PM
To: CF-Talk
Subject: RE: Problems with CFMX?


Rob

Can you confirm 2 things about your post are you saying theres a java limit
on the
size of a method? Also is a method generated for every case in a switch
statement?

Thanks

> >-----Original Message-----
> >From: Rob Rohan [mailto:[EMAIL PROTECTED]]
> >Sent: 08 October 2002 18:13
> >To: CF-Talk
> >Subject: RE: Problems with CFMX?
> >
> >
> >Yeah, I posted it a while back.
> >
> >Quick synapses:
> >
> >     Coders write:
> >     <cfif 1 eq 1>
> >             <cfoutput>blarg</cfoutput>
> >     </cfif>
> >
> >     That gets made into:
> >
> >     public void whatever(){
> >=>           public void doSomething(){
> >                     if(1=1){
> >                             out.write("blarg");
> >                     }
> >=>           }
> >     }
> >
> >
> >the part between the => can be no greater than 64k. You have no way to
> >predetermine what that size will be when you write the page (it
> >happens at
> >about 850 though).  When a page is too big you get an error like
> >
> >Code of a method greater then 65535 bytes
> >
> >
> >
> >-----Original Message-----
> >From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, October 08, 2002 10:02 AM
> >To: CF-Talk
> >Subject: RE: Problems with CFMX?
> >
> >
> >Thanks,
> >
> >The only flag that goes up for me is the "large" file issue.  Can you
> >elaborate a bit on that.
> >Does CFMX hang or run the file slow?
> >How are you defining ~850 lines?
> >
> >I guess I never considered 850 lines to be big.  Years ago I
> >would get Mega
> >HTML forms from the dream weaver guys that were about 1150
> >before I started.
> >(I do not miss those days) Most every thing today is 300 - 500 lines
> >
> >
> >Thanks again
> >
> >Mark W. Breneman
> >-Macromedia Certified ColdFusion Developer
> >-Network / Web Server Administrator
> >  Vivid Media
> >  [EMAIL PROTECTED]
> >  www.vividmedia.com
> >  608.270.9770
> >
> >
> >-----Original Message-----
> >From: Rob Rohan [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, October 08, 2002 11:46 AM
> >To: CF-Talk
> >Subject: RE: Problems with CFMX?
> >
> >
> >Hi Mark,
> >     We have a very large site, and have had a few problems.
> >
> >     Here are some other thing you need to watch for / problems
> >we had/have:
> >
> >     1. MX can not handle large .cfm files. By large I mean >
> >~850 lines of code
> >     2. You could have some issues if you use fusebox methodology.
> >     3. Jacked up database connections - I believe these are due
> >to the fact
> >that MS doesn't have a SQL *7* JDBC Driver. Since you are using
> >SQL2000 they
> >have native JDBC drivers so you *might* not have issues.
> >     4. Sloppy code
> >     5. XSL transformations can not have variables passed into them
> >
> >On the plus side:
> >     MX does XML building really, really cool and in a groovy way
> >     Once complied the "feel" of MX is quite snappy.
> >     Debugging is rad - especially if you know Java
> >     CFC are cool
> >     in cfscript you can use normal tags!
> >
> >Cheers,
> >Rob
> >
> >
> >-----Original Message-----
> >From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, October 08, 2002 9:32 AM
> >To: CF-Talk
> >Subject: Problems with CFMX?
> >
> >
> >I have been watching threads like "LONG time CF Supporter -
> >About ready to
> >dump CF" and "CFMX - I've never seen anything so unstable in my
> >life" over
> >the past few weeks.  What has me concerned is this next few
> >weeks I am going
> >to upgrade a fairly large site to CFMX.  The site currently runs
> >CF 5 and MS
> >SQL 2000.  Are there a large number of problems with CFMX that I
> >should know
> >about?  Luckily I have a few weeks to play with the new servers
> >before they
> >go live.
> >
> >Any ETA on a CFMX .1 update?  (is one needed)
> >
> >Thanks
> >
> >Mark W. Breneman
> >-Macromedia Certified ColdFusion Developer
> >-Network / Web Server Administrator
> >  Vivid Media
> >  [EMAIL PROTECTED]
> >  www.vividmedia.com
> >  608.270.9770
> >
> >
> >
> >
> >

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to