Friday, December 05, 2008

Why you need to meet me in Dubai!

Circle 14 – 18 December 2008 in your diary! THE NEW MEDIA EVENT is taking place from 14 – 18 December 2008 at JW Marriott Hotel in Dubai, UAE.

Everyone that IS somebody in the PR industry will be there. WHY? Seriously, who would not like to be in the same company with these speakers?
• SHEKHAR KAPUR, Academy Award Winning Director Of Elizabeth And Elizabeth: The Golden Age
• DUANE NICKULL (ME), Sr, Technology Evangelist, Adobe Systems.
• DEBBIE WEIL, Author, The Corporate Blogging Book
• AMMAR BAKKAR, Head Of New Media, MBC Group
• MOHAMED NANABHAY, Head Of New Media, Al Jazeera
• PHILIPPE DELTENRE, Media Strategist, Microsoft
• ANGEL GAMBINO, Former Global VP, Music And Content, BEBO

They will have 25 speakers in total. And all of them are playing an integral part in the new media revolution. The full listing is on the website at

OK, so you may be asking yourself, why do I need to attend an event on new media? What is in it for me? I am doing a great job – plus all of this new media stuff is only hype! Yeah, keep telling yourself that!

Do you realize that there are 200,000,000 blogs on the net? 150,000,000 videos on YouTube? 120,000,000 Facebook members? I am sure you don’t. You also don’t now that it takes only one blog post to destroy your organization’s reputation. Imagine, there are over one billion blog posts on the net and it takes only one to destroy everything you have been working for.

There is a teaser for the event here:

Duane's World 14 - The New Media

You have several options.

1. Visit
2. Call +971 4 335 2437
3. Email

Interview on Duane's World from Dutch Cowboys

I got to do this great little piece during MAX 2008 Europe in Milan 3 days ago:

Patrick Petersen interviewt Videohost Duane van from AtMost Channel 8 on Vimeo.


Building Service Clients With Flex and AIR (Improved) Course Online

During both MAX events, James Ward and I taught a course on building Adobe Flex and AIR clients for various service types (including Web Services, REST, HTML clients, Flash Remoting) talking to PHP and ColdFusion. During the first session in San Francisco, we had a few glitches (the image had MySQL already running that prevented the WAMP stack from being able to start and gave only a cryptic "Java.socket.exception" exception). We also had the remote server at go down during the middle of the class as well as some hard drive glitch that wouldn't let a valid Flex project be loaded. I was perplexed as all of these things had been tested several times prior -- however, things happen.

To ensure this did not happen again, I have rewritten a new version of BlazeDS which now includes the Apache Axis 1.4 SOAP Stack and some additional *.jars. We also rearranged the course so it can be taken as a self-paced tutorial on how to talk to the various types of courses.

I have placed the entire courseware up for grabs by anyone at I would like to invite anyone to download and take or even consider teaching these courses to your user groups. They are both release under Creative Commons license but please share and share alike. I put a lot of time and effort into both of there courses.

If you took the courses at MAX, please also realize that James and I always put too much content into every course to account for a best case scenario (the entire class types fast, asks no questions, has great eyesight, and makes no mistakes). Given this rarely happens, we often do not get through the entire course; so we designed this to make it a self-paced tutorial complete with instruction guide in case you want to teach it to others. All the projects are included and well commented. User group managers, please make this available to your groups.

To those of you who attended the first MAX Lab in San Francisco, we apologize again for the glitch but things were beyond our control. This should more than make up for it. All the other classes went very well (we did this 5 times).

Audience Assumptions
- Attendees are familiar with XML
- Attendees understand the basics of network architecture and various protocols
- Attendees have Adobeʼs AIR runtime installed
- Attendees have Flex Builder 3 installed

Prerequisites and Downloads

Before you can take this course, you must have the following
software installed on your computer:

- Adobe Flex Builder 3 or later
- Adobe AIR 1.1 runtime or later
- Java ™ SDK 1.5 or higher

Additionally, you must have the CD of courseware that includes the
two directories and a soft copy of this handout.

The following image must be on all computers:
1. The AIR runtime
2. Flex Builder 3 or later
3. BlazeDS
4. MAMP (Mac) or WAMP (Windows)
5. ColdFusion (optional)

A preconfigured MAMP image (Mac OS X) is available here:

A preconfigured WAMP images (Windows) is available here:

When you get it:

1. unzip it to the desktop

2. open a command window and navigate to the directory \MAX2008_BuildingServiceClients\sampledb and type in “startdb”. It should start up a database. Leave that command window open.

3. Grab a new command window and navigate to \MAX2008_BuildingServiceClients\tomcat\bin and type “catalina run”. This should start up tomcat.

Please then test the following URLs to make sure they are there:

http://localhost:8400/axis – to make sure Apache Axis 1.4 is up and running fine

The AIR runtime may be downloaded from:

A trial version of Flex Builder 3 may be downloaded from:

Use the BlazeDS included in the build.

MAMP may be downloaded from:

WAMP may be downloaded from:

A trial version of ColdFusion may be downloaded from:

The following files must be on all computers

/MAMP (For Mac OS X only)
/WAMP (For Windows only)

Each computer must have an internet connection


Learn how to build SOA clients with Flex and Adobe AIR. In this hands-on session, you will explore how to build various service clients using the WSDL Import Wizard, hand-coded ActionScript 3.0, and simple REST-based services. Flash Remoting and performance metrics will also be covered. This session is intended for those who build front-end service clients for business applications. Attendees should come prepared to write code or partner with someone else writing code. (This session complements "Deploying Services with BlazeDS and LiveCycle Data Services ES.")
Preparations for this Lab

1. If the Windows image you are using has a MySQL instance running, it must be killed first. To do this, please go to Start -> Control Panel -> Administrative Tools -> Services and stop the MySQL instance.

2. Next, start up the BlazeDS server. To do this, open a Command Window (or shell) and navigate to \BlazeDS\sampledb (if on OS X, use forward slashes instead of back for path).

a. On Windows, type in “startdb”. This should start the database.

C:\Documents and Settings\Administrator\Desktop\MAX2008_BuildingServiceClients\s

C:\Documents and Settings\Administrator\Desktop\MAX2008_BuildingServiceClients\s
ampledb>java -cp hsqldb.jar org.hsqldb.Server
[Server@1d58aae]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@1d58aae]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@1d58aae]: Startup sequence initiated from main() method
[Server@1d58aae]: Loaded properties from [C:\Documents and Settings\Administrato
[Server@1d58aae]: Initiating startup sequence...
[Server@1d58aae]: Server socket opened successfully in 40 ms.
[Server@1d58aae]: Database [index=0, id=0, db=file:flexdemodb/flexdemodb, alias=
flexdemodb] opened sucessfully in 1512 ms.
[Server@1d58aae]: Startup sequence completed in 1552 ms.
[Server@1d58aae]: 2008-11-25 12:29:14.087 HSQLDB server 1.8.0 is online
[Server@1d58aae]: To close normally, connect and execute SHUTDOWN SQL
[Server@1d58aae]: From command line, use [Ctrl]+[C] to abort abruptly

b. On Mac, type sudo sh ./

3. Now start the servers.

a. On Windows, do this by changing directories until you are at the \BlazeDS\tomcat\bin directory (note: use forward slashes on Unix based Systems) and type catalina run

C:\Documents and Settings\Administrator\Desktop\MAX2008_BuildingServiceClients\t
omcat\bin>catalina run

Using CATALINA_BASE: C:\Documents and Settings\Administrator\Desktop\MAX2008_B
Using CATALINA_HOME: C:\Documents and Settings\Administrator\Desktop\MAX2008_B
Using CATALINA_TMPDIR: C:\Documents and Settings\Administrator\Desktop\MAX2008_B
Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_10
Nov 25, 2008 12:34:20 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Program Files\Java
Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\PC-Doc
tor for Windows\services;C:\Program Files\ATI Technologies\Fire GL 3D Studio Max
;C:\WINDOWS\Downloaded Program Files;C:\Program Files\Common Files\MXI;C:\Progra
m Files\Common Files\Adobe\AGL;C:\Program Files\QuickTime\QTSystem\
Nov 25, 2008 12:34:20 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8400
Nov 25, 2008 12:34:20 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 432 ms
Nov 25, 2008 12:34:20 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 25, 2008 12:34:20 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Nov 25, 2008 12:34:24 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8400
Nov 25, 2008 12:34:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /
Nov 25, 2008 12:34:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/20 config=null
Nov 25, 2008 12:34:24 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3988 ms

b. On Mac OS X, do this by changing directories until you are at the /BlazeDS/tomcat/bin directory and type
sudo sh ./ run

4. You should be able to validate the servers are up and running by hitting the following URL: http://localhost:8400/xml/Wines.xml