Monday, March 24, 2008
Adobe Online Developer Week - March 24-28
The lineup seems pretty good and you can pick and choose which sessions you want to attend. Check out more details at http://adobe.com/go/2008_developer_week
Friday, March 07, 2008
ColdFusion 8 wins Dr. Dobb's Jolt Award!
Sales are great, awards are being won and ColdFusion continues to rock the web development world!
Monday, March 03, 2008
BlazeDS and Flex 2 compatibility
Jon was getting a message:
“Destination ’simple-topic’ requires FlexClient support which was introduced in version 2.5. Please recompile the client application with an updated client framework.”The “2.5″ in the message that refers to LiveCycle Data Services 2.5, which was shipped requiring a hotfix (#2) for the Flex compiler/SDK.
The AMF3 protocol did not change. The remoting and proxy services interoperate without issue between Flex 2 and BlazeDS.
However, the messaging and data management service implementations on the server required several core changes in channel/endpoint handshaking and in how messages are queued and routed to subscribers that are not backwards compatible with clients compiled against the ORIGINAL Flex 2 client library. This is a low level incompatibility, so previous messaging and data management code doesn’t need to be altered or edited in any way. You just need to recompile your app against the hotfixed Flex 2 or Flex 3 SDK.
Thanks for Seth Hodgson for the details about what changed (it predates me moving over to Data Services).Friday, February 29, 2008
Recording of my BlazeDS presentation
As he reminded me more than once last night, he is always looking for speakers.
The recording of my BlazeDS session is available here.
Thursday, February 28, 2008
Using ColdFusion with SQL Server XML/SOAP Endpoints
The interesting thing is that he did not use the HTTPClient library (although using this should have allowed the Digest and NTLM authentication to work since the library supports it) because the HTTPSender class (see source here) does in fact support HTTP 1.1, just not by default. The trick is to set the right property on the web service stub so that the Axis engine does the right thing.
The other note to John's post is that you can use cfinvoke if you want to, but you just have to use cfobject/CreateObject to create the web service "stub" first, then pass that in as the webservice attribute of cfinvoke.
<cfset ws = CreateObject("webservice", "https://webservice.yourcompany.com/sql/whatever_endpoint?wsdl")>
<cfset ws._setProperty("axis.transport.version", "1.1")>
<cfinvoke webservice="ws" method="JJData" returnvariable="result">
</cfinvoke>
John also notes that processing the result set and turning it in to a query is pretty slow. Not sure what is causing this other than there is a large amount of data getting processed.
Wednesday, February 27, 2008
BlazeDS presentation Feb 28, 2008
Check out the details here.
Here is the description:
Recently Adobe announced the release of BlazeDS which will make some key server technologies open source and free to use in any application. These technologies are critical to building great applications with Flex and AIR. Tom will talk about exactly what you get in BlazeDS and how it relates to LiveCycle Data Services and will detail some of the reasons why you might want to use these server technologies. He will also explain how ColdFusion developers can take advantage of BlazeDS in their applications.
Monday, February 25, 2008
BlazeDS and Flex 3/AIR 1.0 out today!

Today Adobe shipped Flex 3 and Air 1.0 along with releasing the open source BlazeDS technology. These are some amazing and world changing things that just hit the streets.
I'll let others talk about how revolutionary AIR is and how great Flex 3 is going to be. The BlazeDS open source project is what I am excited about (and not only because I work on the BlazeDS/LiveCycle Data Services team).
In a nutshell, two of the three important technologies included in LCDS 2.5.1 have been released a) for free (as in beer) and b) as open source. This means that you can use Remoting (aka Flash Remoting) and Flex Messaging in your Flex applications, backed by Java or ColdFusion, without any licensing whatsoever. You can file bugs on the technology in the public JIRA bug tracking system. You can even check out the source and see what makes it work (or debug a problem when it doesn't).
Anyway, the team is very excited about BlazeDS and the whole company is pumped for AIR 1.0. Check them out!
http://opensource.adobe.com/wiki/display/blazeds/BlazeDS
Wednesday, February 20, 2008
Directory Watcher talk by Dave Ferguson
Anyway, if you do watch Dave's talk, there are a few questions and quirks he mentions that I wanted to try and clear up.
First, note that the Java source for this gateway is shipped with every copy of CF in
Dave notes that the "Out"count in the CF administrator is always 0 for this gateway. This is the number of messages/events that the gateway has sent, well, out. For instance how many times SendGatewayMessage() was called for this gateway. Since the Directory Watcher doesn't do outgoing messages (see line 187), this count will of course always be zero.
Dave mentioned that when he returns something from (in his case) one of the onAdd, onChange or onDelete functions, he gets a meaningless error in the logs. I filed a bug on this for Dave (#71311). The problem is that as a convenience the gateway system will take the return value of an event processing CFC function and send that "out" to the gateway. For instance if you receive an SMS or IM message to one of those gateways, you can return a Struct with a reply message from the onIncomingMessage function and the system will (in effect) call SendGatewayMessage() on that gateway with that struct. Since he was returning a simple value (i.e. "1") CF tries to make that a Struct, fails and reports the strange error. It *should* ignore that return value and log a warning (in the eventgateway.log) that it is doing this.
Dave was asked about timeouts for the CFC processing functions. Event Gateway CFC function calls are subject to the same timeout value as ColdFusion requests. A gateway can override this value (in the Java code) by calling CFEvent.setCfcTimeOut(). Otherwise the timeout is the same as for "regular" CFML page requests.
There was a question about file renames and what the Directory Watcher does when it sees this. The watcher does in fact report an ADD and a DELETE event when you change the name of a file. This is by design and I verified this on ColdFusion 7 and 8.
Hope this info helps those looking for more information about this gateway.
30 On Air launches
Why AIR? Why Flash Player? Why Flash? Why Flex? Why Coldfusion? Why AJAX? Why LiveCycle? Why Dreamweaver?
You can upload your own video also, just tag it on YouTube with the "30onair" tag. I like the rocking guitar solo video, but maybe I have been playing too much Guitar hero.
Monday, January 07, 2008
Take a quick ColdFusion IDE Survey
Having a ColdFusion specific IDE is something that certainly the server team has wanted for a while ("Bring back ColdFusion Studio!") but for various reasons (*cough* Dreamweaver *cough*) we were unable to get. Remember also that the CF team are Java/server developers, which aren't the right people to develop an IDE tool for the desktop. This may explain why we haven't written one ourselves yet. :-)
Friday, January 04, 2008
Spell checker in the CF8 Rich Text editor
Friday, December 14, 2007
Using FCKEditor file upload in ColdFusion 8
Read about it here.
Wednesday, November 21, 2007
Flex Camp Boston
What I need to do is figure out if speakers are eligible for the XBox 360 Halo edition that is being given away, along with a ton of other stuff like: two tickets to 360Flex in Atlanta, a ticket to CFUnited in Washington, D.C., copies of Flex Builder, Adobe backpacks, and Ipod Shuffle and books from O'Reilly. I keep asking Santa (my wife) for an XBox for Christmas, but all I get back from her is dirty looks. :-)
64 bit Support on ColdFusion 8 (Windows, Linux and Leopard)
The ColdFusion team is working to get ColdFusion 8 fully supported on 64 bit platforms (Windows, Linux and Mac OS X Leopard). If you are interested and want to participate in the testing of early releases of 64 Bit support on ColdFusion 8 on these platforms, please enroll yourself for prerelease program here.
