JSON backward Compatibility: Flag to enable CF8 behavior

JSON serialization was
introduced in CF8 for the first time. It was used heavily to serialize CFC and
other CF data objects. In “CumulativeHotfix1 for ColdFusion 9.0.1”, some of its
outstanding issues were fixed. 
Few of issues addressed in hotfix were that of string to number
conversion, and number getting converted to double.

The change in behavior
of JSON serialization, which fixed some of the basic problems of CF developer
at one hand, also had a side effect of breaking old application built on CF8.
Migration from CF8 to later version might require making few changes in the developer’s
code.

To achieve backward
compatibility and to address a scenario where old behavior of JSON
serialization has to be retained, a JVM flag had been introduced at the same
time. If enabled, it would bypass the latest changes for JSON serialization and
fall back to CF8 behavior.

Here I am describing the JVM flag and the way to
enable it. This will bring back the old behavior where a string with leading zero like ‘000’ will be output as 0.0 rather than 000, an invalid number in javascript. Similarly all the number will be retained in double/float format. A number like 1.23E4 will be converted to 12340 and so on. So you can make use of this flag if you have got stuck upgrading to latest CF server.

To achieve the CF8 behavior, one can add a
JVM system property 
json.numberasdouble=true to jvm.config.
It is applicable to  CF “CumulativeHotfix1 for ColdFusion 9.0.1” and
later .

jvm.config file is located at  $CF_HOME/cfusion/bin/jvm.config.
Open the file and you will find “-Djava.awt.headless=true” as one of the entry
in java.args parameters.

Please add the suggested
flag just after former headless entry as  –Djson.numberasdouble=true.

 

 

New updates for ColdFusion 9, 9,0.1, 9.0.2 and 10 – Java 7 now supported

[Update: All the technotes ( for CF10, CF9, CF9.0.1 and CF9.0.2) now have an update section to reflect the change that was made. The refreshed CHFs for ColdFusion 9 and the refreshed ColdFusion 10 update 8 contains a fix for the an issue in Google Maps. New CHFs have been released for CF9 and CF9.0.1 – Read the related post here]

 

The new cumulative hotfix for ColdFusion 9.0, 9.0.1, 9.0.2 includes support for Google Maps JavaScript API v3 and JDK 1.7 Update 15.These Cumulative Hotfixes consists of previously released cumulative hotfixes and security updates.

Details of cumulative hotfixes are here – 9.0, 9.0.1, 9.0.2

 

ColdFusion 10 Update 8 includes support for Google Maps JavaScript API v3, Mac OS X Mountain Lion 10.8 and JDK 1.7 Update 15. It includes all the bug fixes from previous updates of ColdFusion 10. 

You apply this update using the update mechanism within ColdFusion 10 Administrator.

For more details about the update, refer the link here.

 

 

ColdFusion 10 update 8 is now available – Java 7 support included

[update: The technote for ColdFusion 10 update 8 now has an update section to reflect the change that was made. The refreshed ColdFusion 10 update 8 contains a fix for the an issue in Google Maps.]

This post is to announce the availability of a new update to ColdFusion 10.

ColdFusion 10 Update 8 includes support for Google Maps JavaScript API v3, Mac OS X Mountain Lion 10.8 and JDK 1.7 Update 15. It includes all the bug fixes from previous updates of ColdFusion 10. 

You apply this update using the update mechanism within ColdFusion 10 Administrator.

For more details about the update, refer the link here.

 

Free ColdFusion Installation Support from Adobe

Yes, that’s right. Adobe provides free support for product installation. To make use of this all you need to is reach out to cf.install@adobe.com with your installation issue.

If you also face any issue with the updates that we release, you can reach out to the email alias indicated above for support.

Note, support is limited to product installation only and installation does not include network installations, silent installs to a network environment, database configuration, clustering, distributed set-up of servers, or any other similar set-up or activities.

 

The ColdFusion 10 Advantage Webinar by Ben Forta

ColdFusion webinar by none other than Ben Forta on Feb 27th (2:00pm Eastern; 11:00am Pacific)!

Title

The ColdFusion 10 Advantage

Summary

ColdFusion needs no introduction, it helped usher in the era of web based applications over a decade and a half ago, and remains an innovator in this space to this day. With each update, ColdFusion has further empowered us to build and create the ultimate online experiences, and ColdFusion 10 is no exception.

ColdFusion 10 is indeed a very important release, one which builds on the success of ColdFusion 9 by adding invaluable new features and functionality, all intended to make developers more productive than ever before.

Key Takeaways

In this session you will learn about HTML5 and client enhancements that make CF10 more productive, and will also discover why CF10 is more powerful, more secure, more scalable, and better integrated, than ever before.

Register here! http://events.carahsoft.com/event-detail/2301/adobe/

ColdFusion Platform Survey

We have created a survey to capture the platform usage associated with ColdFusion. The results from the survey will guide us in making the right decisions associated with platfrom support in future.

Please take a few minutes to let us know your current choice of platfrom and also your future preferences.

Here’s the link for the survey.

Learn CF in a Week!

I am pleased to announce a brand new community driven training program for ColdFusion – Learn CF in a week!

It is great to see Learn CF In a Week live from what started out as a conversation about training resources for ColdFusion between Simon and me at cf.Objective() this year.

Huge shout-out to Simon Free and other community experts for making this happen. I would like to call out all contributors from the community for this traning program that walks you through various concepts of ColdFusion as you build a fully functional ColdFusion website


Authors

• Emily Christiansen
• Tim Cunningham
• David Epler
• Sam Farmer
• Dave Ferguson
• Simon Free
• Paul Hastings
• Guust Nieuwenhuis
• Dan Skaggs
• Nic Tunney
• Adam Tuttle
• Dan Wilson

Editors

• Mark Esher
• Kristin Ferguson
• Tiffany Goebel

Designers

• Nick Borden
• Jim Priest

Go try out the training for yourself! And help spread the word!

 

Java 7 support for ColdFusion

[updated as the Java EOL date is now Feb, 2013]

Oracle has announced that updates to Java 6 will no longer be available post February 2013 in the Java SE 6 End of Public Updates Notice posted here.

 

We are aware of this and wanted to assure you that Java 7 support for ColdFusion 10 and ColdFusion 9 will be available through updates. The updates will go out before Java 6 will be EOLed in February, 2013.

 

Adobe ColdFusion 10 is now available!

I am pleased to announce that Adobe ColdFusion 10 is now available. Thanks to the amazing engineers from the Adobe ColdFusion product team for this remarkable release.

ColdFusion 10 now offers built-in support for HTML5 and helps boost performance using Tomcat integration and enhanced caching. With the new hotfix installer and scheduler, ColdFusion 10 Enterprise edition allows enterprise developers to improve productivity, while strengthening authentication and encryption techniques to make websites more secure. HTML5 and REST support helps boost performance and productivity for web and mobile applications development.

With a multitude of enhancements, ColdFusion 10 reduces complex business logic into a few lines of code, dramatically accelerating the development cycle. ColdFusion 10 bring s in the same capability to HTML5 application development to help deliver rich user experiences through web-sockets, video player, geo-tagging and interactive charting. Leveraging an array of built-in features, ColdFusion 10 gives developers the tools to condense enormous tasks into easily manageable projects and rapidly build and deploy scalable Java EE applications to satisfy large-scale business needs in the enterprise.

Pricing and Availability

ColdFusion 10 is available now in three editions. ColdFusion 10 Enterprise Edition is a high-performance solution for delivering multiple websites and applications on one or more servers, or on existing J2EE application server installations starting at an estimated street price of US$8499. ColdFusion 10 Standard is an easy-to-manage configuration for single applications ideal for small to medium-sized businesses and available starting at an estimated street price of US$1499. ColdFusion 10 Developer Edition, a full-featured server for development use only, is available as a no charge download. Low cost upgrade pricing is available to customers with valid licenses of ColdFusion 8 and ColdFusion 9. ColdFusion 10 is immediately available for purchase online from the Adobe Store, directly from Adobe, and through Adobe’s network of partners and resellers. For more information, visit http://www.adobe.com/products/coldfusion-enterprise.html. For a complementary trial, visit https://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion.

 

ColdFusion Builder 2.0.1

Along with ColdFusion 10, I am also pleased to announce the availability of ColdFusion Builder 2.0.1 update. ColdFusion Builder 2.0.1 focuses on keeping up-to-date with the changes in ColdFusion 10 along with bug fixes and performance improvements. 

Support for new tags and functionalities of ColdFusion 10
Improved Server manager to work with built-in Tomcat server
Eclipse 3.7 upgrade to leverage the latest functionalities