Monday, December 22, 2008

Social Networking is NOT new!!!!

Many people think "social networking" is Web 2.0. They are confused. We are social by nature. What the real Web 2.0 pattern is is the ability to "declare" these social relationships. Groups like Facebook that write an "Architecture of Participation" whereby users can make these declarations. James Governor first picked up on this pattern and called it "Declarative Living". James is right - the only new thing is the declarations.

Here are some more ramblings on web 2.0:

http://www.newzmakerz.com/video/111/Duane-Nickull

Sunday, December 21, 2008

Christmas, Holidays and me

I don't know why, but this time of year always brings me happiness and optimism. Perhaps it is my children and wife, perhaps the way perfect strangers do random acts of kindness? Today I shoveled a neighbours driveway (2 hours work to remove the snow) but he is 94 years old and it felt like the right things to do. I never asked him for anything but the way he thanked me and in a large city such as Vancouver found it incredible really made my day. Perhaps it is the software industry going for holidays meaning I might get two whole seeks without Adobe, Apple, Microsoft and others trying to update some software on my computer ;-)

This holiday, financial times are tough thanks to a handful of greedy assholes and a system that broke. I want to ask all of you, find forgiveness, find happiness (perhaps some time alone) and find time to do something for someone they would never expect. Bring your neighbours some baking treats, have your colleagues over for a dinner, donate money to the foodbank - whatever. There are people in the world who have not even 1/1000 of what we have. Bif Naked is spending her season getting chemo for a disease she never asked for and there are thousand like her. Yet - she finds time to blog about her experience and shares it publicly. To me, this is a very courageous act of kindness.

Give to LiveStrong. If you cannot afford $$$, just volunteer. Even a smile ( the non "I am stalking you type) makes someones day.

To quote Bif:

"Bliss to you and highest blessings and high fives. Om shanti to you, Om Hare, Om"

It is truly amazing for someone facing a (remote at this time) possibility of death to take the time to wish good things for us. My words?

"Be real, be amazing, be excellent". Do something for someone they can't do four themselves. Don't let pessimists make you believe you cannot make a difference:

Peace, love and metal.

Duane "Chaos" Nickull
Bass ace for hire - any set learned in two days guaranteed. Studio wherever.

Friday, December 19, 2008

Oil production cut!! Oh no!!!

They cut it to raise the price. Boy did it ever work. What is oil today? Take a look.



That worked well (no pun intended). This just goes to prove there is no logic in our stock/commodity markets anymore.

'Twas the Night Before The Big (Tech) Demo

I got this sent around and wanted to share. (With sincere apologies to Clement Clarke Moore and thanks to Peter Cohan, Marc Eaman for tweaks)

'Twas the night 'fore the demo and all through the house
Not a creature was stirring, 'cept my SE and his mouse;
I'd proposed a big licensing deal with great care
In hopes a big order soon would be there;

Management was restless and not in their beds
As visions of bonuses danced in their heads;
And my VP with his forecast and me with my own,
Had just started a long EOQ roam,

When out from my mobile there came a great ring-tone,
I sprang from my chair to answer my phone,
What could it be? Was it good news or no?
A last-minute order? A contract? PO?

Greetings, said my assistant, who spoke on the line,
It was someone to see me, offering help at this time!
Who could it be at this late eleventh-hour,
To make the deal sweet and avoid something sour?

Away to the door I flew in a flash,
And swept it open in my quest for fast cash,
When who to my wondering eyes should appear,
An Adobe Evangelist! And standing so near!

He came in my office and, while dusting off snow,
Said, "I have some news that you'll want to know."
He drew up a chair and asked for some tea,
And said to my VP, SE and to me:

"Your deal is in trouble and I'll tell you now,
Your demo's confusing, complex and lacks 'Wow!'
It's riddled with features and functions and more,
And too many cool things, mouse clicks galore,

Don't flog them with features and other neat stuff,
Stick with the substance, stay away from the fluff,
The more that you show is not always nice,
Customers may say, 'Please lower the price!'

The Buzzword-Compliant Vocabulary list,
Are words, I'm afraid, that are better-off missed,
Not Flexible, nor Powerful, nor Easy-to-Use,
Not Robust, nor Seamlessly Integrated abuse,

And no corporate overview, please don't do that,
After ten minutes they're grabbing their hats,
Present as a team, so if things get hairy,
Sales folks aren't lost in the back with Blackberry.

Your customer's queued and ready to go,
They love the vision you've built with them so
They want Technical Proof in the demo you've planned,
Just the key capabilities, everything else banned."

"But how can we do this?" I heard myself cry,
"We're victims of momentum, we're nervous to try,
Another approach, a new way to go,
We have to admit we're just a bit slow!"

"Do the Last Thing First!" he said with a smile,
"Then peel back the layers, and Do It with style,
Peel it back in accord with their interest,
Stay focused and execute, and you'll find it best,

Your customer's Situation is a great way to intro,
Their Reasons and needs, from CBI flow,
Review these and check - is this still the case?
Are we aligned or are we off-base?

Start with the end, that big pay-off piece,
Illustrate and describe, those are the keys!
Capture their interest, compel their attention,
Make sure it aligns with their mode of consumption.

When it clicks and they're hooked, they'll then ask for more,
There's absolutely no way that they'll head for the door,
They'll say, "Please show us, prove that it's so,
Show us the rest, please do demo."

Then Do It, just Do It, with no extra clicks,
To return to that Engaging Vision that sticks,
Make it simple, make it fast, make it easy and clear,
Then they will realize they've nothing to fear,

Encourage their questions, most are not new,
Good ones and Great ones and Stupid ones too,
Treat Hostiles with courtesy, use your Not Now List so
Those mean, nasty folks can't damage your flow,

Peel back the layers, Do It Again,
Show only what's needed, put nothing else in,
Let them drive the demo, let them think they're in charge,
While their Vision Solution you work to enlarge!

Summarize, summarize, tell them again,
'Cause adults do learn by repetition,
And when you show a key take-away screen,
Leave it up, let it linger, so they'll know what they've seen!

"I get it - I'll do it!" exclaimed my SE,
"This is all so obvious, it's way clear to me!"
And he sprang into action, his mouse flew like lightening,
(Frankly, his speed was a little bit frightening!)

And with that the Evangelist smiled and said,
"Your way is now clear, put that baby to bed,
Your deal's now on track, your order secure,
You'll make your numbers at the end of the year,

Then he strode from my office in a blink of a pun,
Turned 'round and he said, "My job here is done,"
Ere he drove out of sight, I did hear him say,
"Great Demo! to all and to all a Great Day!"

Happy Holidays everyone!!!!

;-)

Wednesday, December 17, 2008

Leaving Dubai - sadness and happiness

I am now sitting at the Dubai International Airport (really one of the modern wonders of the world) waiting for a red eye to Frankfurt to get home to Canada. I really enjoyed talking to the local developers and found their level of enthusiasm and knowledge to be world class. Everyone I met was deeply technical and on top of their game.

The government in Dubai has done something right to attract this kind of talent and build this kind of infrastructure. I am sad that I am leaving but happy I leave knowing I now have another 100 or so new friends who I got to share time with. We traded code samples, IT stories, advice and architecture ideas around SOA and especially the new Media conference conversations.

The new Media idea is one I will encourage everyone not to take lightly. A free and independent media is the cornerstone of a democracy. Once the media becomes controlled by corporate interests, we have lost some of our democracy. Once we have lost part of our democracy, we have lost some of our freedoms. If freedom is worth fighting for (as I believe it is), it is certainly worth paying for. Spend part of my taxes to fund the Canadian Broadcasting System so they can deliver unbiased, impartial news without fear of funding cuts. I like this idea.

I am happy also because as I start this long and arduous journey, I am coming back home to my family where I will be able to spend more than 3 weeks before traveling again. Time to take some time off!

Peace to all!

Monday, December 15, 2008

My Talk from Dubai on Blogging

First - I really want to thank the staff from IIRME at the recent New Media Conference in Dubia. They are pros and treated us all very well.

Second, as promised, my presentation is now online at:

http://www.web2open.org/presentations/Nickull_Blogging.ppt


You are hereby granted free use of this material as long as you respect the IP rights of others. Please remove the Adobe logo and my name and replace them with your own name/logo if you plan to present it. Also - this was heavily influenced by problogger.com. Please make sure they get credit as noted within.

Special thanks to all the people of Dubai!!! If you have not been here, get here. This place is awesome!! Everyone I have met is 100% friendly to the MAX!

Duane

Friday, December 12, 2008

New Duane's World Merchandise - Snow Blowers!

Since I live in Canada, I called up a friend of mine to test a new model of the Duane's World Snow Blower. This joint venture with a well known Japanese manufacturer is in early alpha testing. We are currently putting it through the paces in Ottawa where snowfall has already covered most of the province.



To be environmentally friendly, the new prototype engine runs on 100% pure alcohol. There was a slight argument as I tried to put some of Matt's finer single malts into the fuel tank at one point however....

LOL!!

Wrap up from MAX EMEA in Milan

Milan's MAX was fun but I was one busy camper. My schedule is below. It started by getting up early Friday morning and working until I got on the first of 3 legs of an airplane trip at 3:00 PM.

Saturday November 30 - arrived late evening in Milan, spent 4 hours with James, Phil, Ivan, et al., building images for the lab sessions. During this time, we ended up getting locked inside the building. One janitor let me out only for me to discover I was trapped inside a one square kilometer fenced in area with only one exit. It took 30 minutes of walking around in 1 degree weather and pissing rain to find the exit. Needless to say, I needed a scotch and fire. We got everything done but those guys rock. Without them, MAX would not happen.

Sunday Nov 31 08:00 - 17:45 - spent the day inside the hall handling last minute details, rehearsals, testing images, finalizing slides, etc.

18:00 - 19:30 - Speakers Reception

20:00 - 01:00 - Late night dinner.

Monday, December 1, 11:30 am - 1:00 pm, Orange 3
Adobe AIR Boot Camp (Part 1 of 2)
James Ward and I delivered an introduction to working with Adobe AIR, in which we got an entire classrooom to build several projects from start to finish. Projects include an advanced "HelloWorld.air", a video player, a "full screen" application, a web service client, a simple example of how to make remote calls, a chromeless window application, writing data to and reading from a hard disk, working with XML (including RSS feeds), and packaging AIR applications for later distribution. Course materials include the presentation, all code for the projects, and a step-by-step written tutorial.

13:15- 13:35 - French Interview with journalist. Results are here:
http://www.lemondeinformatique.fr/actualites/lire-adobe-max-soa-bpm-et-cep-en-toile-de-fond-27555.html

Monday, December 1, 15:15 – 15:45
James Governor analyst debriefing. I love James - what can I say! Marc Duke
Analyst Relations, EMEA set this one up but I also filmed James for Duane's World and talked to a number of other journalists. Some wrote about it:
http://kurse.focus.de/news/ne-nadeInformations-und_id_news_90638900.html

4:00 pm - 5:30 pm, Orange 3
Adobe AIR Boot Camp (Part 2 of 2)
The last 90 minutes of the two part AIR Boot Camp.

6:30 – 7:30 – BOF Meet the Evangelists, Red Room. This was a chance for people to meet the evangelist team. Big Takeaway: We need to be more clear about the future of ColdFusion. Trust me - I'll be bringing this up several times in the near future!!!

Monday, December 1 7:30 – 10:30 – Press Dinner
From: ssaissay@adobe.com
As you attend the BOF session that ends at 7.30 pm, you will join us directly at the restaurant
Enrique will manage to get taxis for all of you – We met him in the Convention Center lobby to leave at 7.45 pm. Yet another very late night (past midnight).

Tuesday, December 2,

8:30 am - 10:00 am, Orange 3
Adobe AIR Boot Camp (Part 1 of 2) - second repeat of this session - first one and second were sold out!
I delivered an introduction to working with Adobe AIR, in which we got an entire classrooom to build several projects from start to finish. Projects include an advanced "HelloWorld.air", a video player, a "full screen" application, a web service client, a simple example of how to make remote calls, a chromeless window application, writing data to and reading from a hard disk, working with XML (including RSS feeds), and packaging AIR applications for later distribution. Course materials include the presentation, all code for the projects, and a step-by-step written tutorial.

12:15 – 12:45
Dutch journalists meeting at MAX in Milan. Can't remember the outcome.

12:45 – 13:15
French Journalist Olivier Raffal

13:30 pm - 3:00 pm, Orange 3
Adobe AIR Boot Camp (Part 2 of 2) - second session of 4 hour hands-on coding lab.

3:30 pm - 5:00 pm, Green 2
Building Service Clients with Flex and Adobe AIR

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.")
Speakers: Duane Nickull, James Ward, Andrew Spaulding
Audience: Application Developer, Architect
Skill: Advanced
Products: AIR, Flex, Flex Builder, LiveCycle DS, LiveCycle ES

17:15 – 18:00 h.17.15-16 interview
PCopen Studio Italian Press

Wednesday, December 3, 10:15 am - 11:15 am, Blue 1 - a lecture:
Adobe Adoption of Web Services, SOA, and REST
Learn about the OASIS Reference Model for SOA as well as other service architecture work. Attendees will see Adobe's messaging around and integration of Web services, REST, and SOA, including how they relate to one another and where they are implemented within the Adobe platform and product lines. We will include an overview of LiveCycle services to illustrate integration points using services.

1:30 pm - 3:00 pm, Green 2
Building Service Clients with Flex and Adobe AIR - second session.
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.")
Speakers: Duane Nickull, James Ward
Audience: Application Developer, Architect
Skill: Advanced
Products: AIR, Flex, Flex Builder, LiveCycle DS, LiveCycle ES

4:00 pm - 5:00 pm, Red 1
Forms Gone Wild (2008)
Learn how to avoid the top mistakes form developers make, whether they are working in Flex, Flash, Ajax, or LiveCycle, using HTML, PDF, or other formats. Back by popular demand, this session covers the top ten most serious mistakes, as voted on by previous session participants, as well as touching on other serious issues form developers struggle with. You'll walk away with winning strategies that you can put to work in your form design practices.

This latter was my best talk ever, however the session evaluation forms were not distributed during most of the conference. The ones on the chairs at this session were from the previous session so I probably got no feedback and the speaker before me got some good marks. Nevertheless, there were several who blogged nice things:

"Platogo at Adobe MAX 2008
By Christoph Atteneder
The third day was the best one regarding the quality of the talks, topics including RTMFP (Michael Thornburgh), Flash Player security (Jim Corbett) and as an entertaining last session Forms gone wild with Duane Nickull. ...
Platogo Blog - http://blog.platogo.com/"

Thursday: a 33 hours day of flying back just in time to take my wife out to Nitobi's Christmas party in Vancouver.

Another average week in evangelism!

Tuesday, December 09, 2008

Mac Pro 8-core RAM not recognized?

WARNING: Do not attempt this if you are not comfortable with hardware hacking. I will not accept any responsibility for anything you do trying to follow this article.

I went to the store yesterday to get more RAM for my Mac Pro, an essential need really if you are editing video as I am for Duane's World TV. I discovered that installing the RAM into an 8-core Mac Pro is not only somewhat difficult, but poorly documented. This step by step guide is aimed at helping save others the 4 hours it took me to get an answer from Apple.

First, the basics. For the new Mac Towers, RAM is distributed into two Printed Circuit ("Riser") cards, each with 4 DIMM slots that you can put RAM into. Before you begin, there are a few basics you should understand. Ground yourself!!! I cannot emphasize this enough. There are commercial products available or you can roll your own. I decided to use a 1/4 inch guitar cable taped to my wrist (metal touching skin) and grounded by connecting it to an Ampeg Bass head ground connection. You can also use a metal plumbing pipe but be careful that it is metal all the way into the ground (sometimes they use PVC in the middle). Here is my MacGyver setup:


This keeps static and other electrical flows from ruining the RAM. If you want to know why, read this article here. Believe me, this is not to be taken lightly as I have personally ruined RAM chipsets.

When you remove the panel to the Mac, you will see two RAM banks, an upper and a lower. Note that there are white dots that are aligned with the surface of the chassis to let you know that the boards are installed properly. See below:



On the newer machines, you can simply pull them out by placing your fingers in the holes as shown below and pulling gently. Be sure to read service bulletins to understand if a clasp or other lock in device gets added after this article runs to avoid breaking these board. In general, you must treat these PC ("Riser") boards very gently. Do not carry them across carpets then let them touch a metal window frame or bend them.


Gently remove both the upper and lower boards and place them on an insulated surface. Now here is the weird part. I always knew RAM had to be installed in matched pairs and I had a 2GB in DIMM 1 on both left and right and a 1 GB on DIMM 3 on both left and right so I installed an extra 1 GB on each side in DIMM 4 on both left and right as shown below.


This should have been 8 GB of RAM in total
((DIMM1-Left = 2GB + DIMM1-Right = 2GB) + (DIMM3-Left = 1GB + DIMM 3-Right = 1 GB) + (DIMM4=Left = 1 GB + DIMM4-Right = 1 GB) = 8 GB. WRONG!! It was not recognized. When I started up my system, this is what showed up.


It showed that DIMM 2 and 4 on both sides were empty and I only had 6 GB of total RAM. I tried various configurations before giving in and calling the shop that sold me the RAM. The guy there knew nothing about installing RAM and just told me I probably had bad RAM. I tried to explain that each RAM stick worked in positions 1 and 3 on both sides as long as it was balanced however he failed to grasp the most primitive forms of logic. I then called Apple who were much more knowledgeable. It turns out that not only do Left DIMM 1 and Right DIMM 1 have to be matched on 8-core systems, but DIMM 1 must match DIMM 2 on both right and left. This left me going back to the store to buy two more 2 GB RAM strips and installing them as shown below:


Place them back VERY gently into the two slots. Don't force these into the chassis. Before the final push (you will have to push hard) the white dots should be about 3 mm away from the metal chassis edge. If you try to do the hard push when they are 15mm away, you can break something. Also - before you try to place them back into your machine, make sure each RAM strip is locked into place as can be evidenced by the clips lining up as shown in the second photo below. If the clip is left open as shown in the first photo and you try to force it, you can easily break something that will cost a lot of money to fix.



After all is safely back into place, start up your Mac. Here is what I was rewarded with!


12 GB of RAM with 8 cores!! I am now faster than you!!! Bwahahahaah!!!

Monday, December 08, 2008

Duane's World Episode 14 - InterAct 2008, Media and Democracy

In this episode, Duane explores the InterAct 2008 conference event in Washington, DC and interviews Holly Hickman (formerly of Fox News) and Tamela Beene about the importance of a free and independent press to any democracy. Code and Tunes also features how to work with the Flex Color Picker component within the Flex 3 framework.

Sunday, December 07, 2008

The Intense Duane Chaos!

This is what I look like when I am being intense.

...or lackadaisical....


...or just having fun....

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 www.thenewmediaevent.com.

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 www.thenewmediaevent.com
2. Call +971 4 335 2437
3. Email register@iirme.com

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 tv.adobe.com from AtMost Channel 8 on Vimeo.

Enjoy!

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 www.webservicex.com 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 http://www.web2open.org/courses.html. 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:
http://www.web2open.org/courses/MAX2008_BuildingServiceClients.zip

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
http://localhost:8400/xml/Wines.xml
http://localhost:8400/xml/crossdomain.xml


The AIR runtime may be downloaded from:
http://get.adobe.com/air/

A trial version of Flex Builder 3 may be downloaded from:
http://www.adobe.com/products/flex/

Use the BlazeDS included in the build.

MAMP may be downloaded from:
http://www.mamp.info/en/download.html

WAMP may be downloaded from:
http://www.wampserver.com/en/download.php

A trial version of ColdFusion may be downloaded from:
http://www.adobe.com/products/coldfusion/

The following files must be on all computers

~/RootFolder/AttendeeHandouts.pdf
/AttendeeProjects
/CompletedProjects
/BlazeDS
/MAMP (For Mac OS X only)
/WAMP (For Windows only)

Each computer must have an internet connection

Description

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
ampledb>startdb

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
r\Desktop\MAX2008_BuildingServiceClients\sampledb\server.properties]
[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 ./startdb.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
uildingServiceClients\tomcat
Using CATALINA_HOME: C:\Documents and Settings\Administrator\Desktop\MAX2008_B
uildingServiceClients\tomcat
Using CATALINA_TMPDIR: C:\Documents and Settings\Administrator\Desktop\MAX2008_B
uildingServiceClients\tomcat\temp
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
\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\CFu
sionMX7\verity\k2\_nti40\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\
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 /0.0.0.0:8009
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 ./catalina.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

Friday, November 28, 2008

Live Blogging From MAX Milan 2008

During the MAX 2008 event keynote in Milan, Adobe Evangelists Mihai Corlan, Tom Krcha and Piotr Walczyszyn will be doing some live blogging. If you want to get the very latest goods on what is happening, tune in to these three guys' blogs. You can find the MAX schedule at the MAX website.

Mihai Corlan - http://corlan.org

Tom Krcha - http://flashrealtime.com/

Piotr Walczyszyn - http://www.riaspace.net/

Thursday, November 27, 2008

Can someone please explain this?

Why are we paying taxes to our governments so our governments can give that money to banks who then lend it back to us at a profit. Someone is getting really screwed here and I think it is us, the people. The worst part is if the bank screws up, the government just gives them more of our money. Why don't I just keep a larger portion of my paycheque? Quite frankly, I have started to enjoy the sight of major bankers in trouble.

Please remind me why any of this is even legal?

Netherlands Java User Group Rocks!!

This year, I had the immense honor of being a keynote speaker at the jFall event sponsored by the Netherlands Java user groups. I also gave a second talk on SOA and Adobe LiveCycle ES which had a big impact amongst the attendees. Most of them noted that Adobe LiveCycle ES is in fact a very mature J2EE Enterprise Service Bus. It has been a busy few weeks and I am behind on sending out the developer licensed versions of LiveCycle ES so I apologize to everyone who is waiting. It will come. If you did not get yours yet, please remind me via email to dnickull [at] adobe [dot] com.

Here is a video of the event.


J-Fall 2008 from Bachelor-ict.nl on Vimeo.

Tuesday, November 25, 2008

Adobe MAX 2008 AIR Boot Camp Course Online

James Ward and I gave a 3.5 hour mega lab at Adobe MAX 2008 which was attended by 250 people (sold out). The course is designed so that anyone can take it at as a self-paced tutorial. Here is a shot of about 25% of the room.



After the success of the course, we decided to upload all the materials so others could take this and teach. It contains some great examples from James' book as well as 12 completed projects. These demonstrate the main aspects of AIR that distinguish it from Flex and Flash.

While presenting this at MAX, there were some minor glitches and that is why we are posting this publicly. One glitch was that the webservicex.com site was not working well (an external site required for the web services module). This was obviously well beyond our abilities to control so we had to do the best we could at the time. If you want to see how the web services introspection wizard works, please watch the Code and Tunes segment of Duane's World Episode 1. I have tested it now and it seems to be working okay. This could have been a bandwidth issue with 250 people connected to the Internet at the same time.

The second glitch was very minor. We had a few people who complained and said "We never got a chance to complete all the labs [modules] of the course". This was by design; James and I always include more materials than we know can be covered in the time allowed. This is done to allow attendees to work through the rest of the course at their own leisure. The course is set up so anyone can take it and we wanted to have more than enough materials to be somewhat flexible should the consensus in the room be to explore one particular aspect of AIR in more detail.

The course is being given out in hopes that others will take it and teach it at their companies or to user groups. You may download the AIR Tutorial from here: The course is laid out as follows:

|
|- - AIR-Boot-Camp_DNICKULL-FINAL.* - PDF and PPT versions of slides
|
|-- * AIRBootCampHandouts - what you give out to attendees if you teach it
|
|--AttendeeProjects - these are the starter projects for the students
|
|--CompletedProjects - the solutions for each of the 12 labs

* Use the handout as the Teachers Guide - a special guide for those who wish to teach this class.

Good luck - please let us know if this works for you. If you want to introduce AIR to your co-workers, we encourage you to take these materials and use them as you wish. We did this for you and put a lot of effort into this.

Monday, November 24, 2008

Another way for Adobe designers to save when attending Adobe MAX Milan

Purchase Adobe(R) Creative Suite(R) 4 or any Adobe product and get 10% discount off  if you attend Adobe MAX Milan. 
Take advantage of this offer : www.adobe.com/go/max2008

See conditions below.**

** Offer good for Adobe MAX 2008 attendees only. Offer cannot be combined with any other offer, package or registration code. The offer with the 10% discount off is valid on all products on all Adobe Store in EMEA available via an offer code embedded on the following URL : www.adobe.com/go/max2008. Offer valid for qualifying purchases made between November 16, 2008 and December 6, 2008, applicable for web or phone orders. Terms and conditions for Adobe MAX registrations will also apply. Offer is not transferrable and valid only for individual product registrant in possession of a valid purchase confirmation. OEM, NFR, and volume licensing customers are not eligible. Void where prohibited.