Additional instructions for LCDS 2.6 with CF8

If you plan upgrading built-in LCDS to version 2.6 you should follow the instructions provided in the LCDS_for_CF.txt under the resources/ColdFusion folder.

Additionally to that, you should also copy the cfgatewayadapter.jar that you can find under the { extractedLCDSFolder }/WEB-INF/lib to your ColdFusion /WEB-INF/flex/jars folder.

In my previous post, I mentioned that Flex 3 revision 1092 should be used but unfortunately there is a bug which creates a lot of stacktraces on your server's logs and it seems that it has been fixed in revision 1122 that you can get here.

LCDS 2.6 Beta 2 on Labs + CF integration update

If you want to try some new features of LCDS 2.6 with ColdFusion you can get the new bits from Adobe Labs. Additionally you'll have to download also the J2EE webtier compiler (special zip for CF) to update your CF instance(s).

The full installation process can be found here.

If compiling in Flex Builder you should update the SDK at least to revision 1092 that you can find here. After downloading the SDK, extract it somewhere (could be under the sdks' folder in FB) and then go to: Window > Preferences > Flex > Installed Flex SDKs and add the new extracted SDK.

You'll need this SDK since there were some fixes applied to both rpc.swc , fds.swc and the messaging jars.

LCDS DataService.commit() undocumented arguments

I was working on a LCDS project with Flex Builder when I realized that code-hinting was providing me information for arguments regarding the commit method on the DataService class.

If you take a look here you'll see that commit method isn't expecting any argument. The 2 arguments Flex Builder was listing was ItemsOrCollections and cascadeCommit.

[More]

CF8 and realtime data with AJAX Data Services

I'm not an AJAX user but the CFTeam added a lot of AJAX functionality in CF8 and this should be mentioned: Did you know that you can have real time data and messaging support in your AJAX applications using the integrated LifeCycle Data Services?

LCDS is not exclusively for Flex but also for HTML based applications.

[More]

RTMP troubles under windows XP (CF8)

There is a problem with the RTMP connection under windows XP. I didn't found the pattern yet but sometimes after restarting the ColdFusion server, it cannot use the rtmp port anymore because the server is throwing the following error in the log file:

[More]

ColdFusion 8: Extending Simple Chat Application : Multi Room support with SubTopics

This new sample illustrates how to take advantage of subtopics when using Messaging.

With the default setup, to send messages to a specific room we would have to handle all messages from the default destination at the client side and populate the right room with the new message or create 1 destination (at runtime) per room and each destination would handle their own messages. The first approach is not the best since we would get all messages from all rooms which would consume unnecessary bandwidth with useless data. While the second approach can solve our problems it does not work in FDS 2.0.1 since it does not support runtime configurations.

There is a third option which is the use of subtopics. When assigning the subtopic property to a consumer/producer, you are sharing the same destination but just want to send a message to a subset of the connected clients to that destination. In this sample, the room name is the subtopic so each client connected to a specific subtopic will only get messages from that room.

[More]

Deploying ColdFusion with LCDS Express in a multiple CPU machine

For those who might considering using LCDS with ColdFusion you should be aware of LCDS license restrictions for the Express version of the product.

License: With respect to each unique application created by Licensee, Adobe grants Licensee a license to install and use such unique application and the Adobe LiveCycle Data Services Express Software as Production Software on a Per-CPU basis; provided that Licensee shall not: (a) install, use or access such unique application and/or the Adobe LiveCycle Data Services Express Software on more than one CPU, (b) cluster any CPUs, and/or (c) use load balancing.

[More]

ColdFusion 8: Mappings

One common issue when CFers start using Flex with remoting is when they store cfcs somewhere else than the webroot and create a mapping. The flex application will start complaining that the CFC or interface could not be found. To fix this, you just need to change the property to true in the remoting-config.xml that can be found under the {cfusion-app}/WEB-INF/flex/ folder when using CF8 with integrated LCDS or services-config.xml in the same folder when not installed with LCDS.

[More]

ColdFusion 8: how to implement (one/many)-to-one for Managed Associations

LCDS provides 2 ways of feeding your application with complex objects. Those objects can be hierarchical or managed. When dealing with hierarchical objects filled from a destination, that destination is responsible for committing all changes back to the database.

[More]

Using LCDS runtime configurations with CF8

Before LCDS 2.5 came out, each time we needed a new destination, we had to change one of the configuration files (data-management, remoting, messaging or proxy) and then restart the server so we could use it in our applications. In LCDS 2.5, this new feature allow us to create new destinations without having to restart the server or configure any xml file.

[More]

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.8.001. Design by dcarter.