CFUnited Session: Building Multiplayer games on the Flash Platform with ColdFusion, Flex and Data Services

On Thursday, I’m presenting a session at CFUnited titled, “Building Multi-Player games on the Flash Platform with ColdFusion, Flex and Data Services“.   As you can see, I’m trying to do something a bit more fun than my usual topics!   Yes, I’m talking about ColdFusion powering a multiplayer game!  Over the past 18 months, [...]

CFUnited Session: Adding real-time data visualization to your application or website

On Friday, I’m presenting a session at CFUnited titled, “Adding real-time data visualization to your application or website“.   In this session, I’m going to demonstrate how to take data from your web site or application and turn it into a real-time data feed that can be used to feed a dashboard that will impress [...]

BlazeDS 4 and LCDS 3.1 are out

We’ve just made available the bits for BlazeDS 4 and LiveCycle Data Services 3.1. You can find BlazeDS here and LCDS 3.1 here.
Besides alignment with the Flex 4 and Flash Builder 4, there were fixed a lot of bugs and added new features like:

improved offline data management support
wider platform support

You can find more on the [...]

The making of ChessJam Flex/AIR + ColdFusion + LiveCycle DS = fun project!

A few weeks ago, I unveiled a weekend project that I’ve been involved in for several months called ChessJam.  I am now making good on my promise to share why we the selected the technologies behind this desktop application for playing online head-to-head chess. Obviously this is primarily a personal project but there is a [...]

New ChessJam blog created for game-specific posts

I’ve created a separate blog for ChessJam-specific news.  I will continue to blog about ChessJam here on Greg’s Ramblings but only when it’s relevant to the Adobe developer community.  For example, I’m working on a new post that goes into some details on how the app was built with Flex, AIR, ColdFusion and LiveCycle Data [...]

ChessJam and Robots – A.I. saves the day

A few days ago, I blogged about the roll-out of ChessJam, an online chess app built on Flex/AIR, ColdFusion and LiveCycle Data Services.  The roll-out has gone well but we have quickly learned that our real challenge is creating a new chess playing community!   From analyzing our logs, here is the typical experience over the [...]

My pet project – ChessJam – live online chess with a fun attitude

For the past eight months, I’ve been working with two friends, Todd Williams and Sean Carey, on a little side project called ChessJam.  This project started in February, 2009 when Sean and I decided to play a game of online chess with each other to finally resolve who was the better player.  We explored several [...]

MAX Lab: Making Real-Time Data Come Alive with Flex Data Visualization

If you are attending Adobe MAX, I’d like to invite you to come to what I think will be a fun BYOL (bring your own laptop) lab that I am co-presenting with Holly Schinsky.
I’ve always been fascinated with data visualization, especially data that needs analysis as it is generated.  For example, financial transaction data can [...]

Using a MySQL Datasource with Tomcat and LCDS 3.0

I’ve spent today becoming familiar with LiveCycle Data Services 3.0 and am excited by the direction the product is going in. You’re going to hear a lot more about model driven development from us and I think LCDS 3.0 is a product that 1) makes full use of the Flash Platform and Flex’s capabilities and 2) shows what it takes to build a genuine rich Internet application.

One issue I ran into though was getting a MySQL database to work with the Tomcat installation of LCDS 3.0 so I wanted to quickly blog the steps I went through. The instructions here were hugely helpful and I wanted to break them down for an LCDS-specific install of Tomcat

  • First you need to get the MySQL drivers for Java which are available here. As of this post the most recent drivers are version 5.1.
  • Copy the mysql-connector-java-5.1.8-bin.jar file into the lib/ directory of your tomcat install (/Applications/lcds/tomcat/ by default).

Once that's copied, open the xml file for your specific server inside of the tomcat/conf/Catalina/localhost/ directory. In this case, I'm using the default lcds server, so I need to change lcds.xml. You'll also see the other servers that come with LCDS 3.0 like lcds-samples.xml and ds-console.xml.

Copy this code into that file anywhere inside the Context tags and replace {databaseName} with the name of your database, and change the other {} variables accordingly.

    <Resource name="jdbc/{databaseName}" type="javax.sql.DataSource"
          driverClassName="com.mysql.jdbc.Driver"
          url="jdbc:mysql://{host}:{databasePort}/{databaseName}"
          username="{username}" password="{password}" />

Now you're all set! Once you've got RDS set up on your LCDS 3.0 server you'll be able to see the MySQL database and start using it for your model driven development.

ADC Presents: Work with Web Services in Flex

A new tutorial video, featuring Duane Nickull, has just been released by Adobe Developer Connection on Adobe TV. This 7-minute step-by-step tutorial will show you how to quickly set up web services, specifically SOAP-WSDL in Flex Builder. Check it out and let us know what you think.