Canadian Cybertech assists with Clean Technology adoption ranging from software systems architecture, system design and advancement of user experiences/security. We have over 25 years of experience helping companies gather the full and auditable requirements for IT projects to ensure success.
Thursday, September 24, 2009
Duane's World Episode 23 - Adobe MAX Part 2
The code and tunes segment features a new tutorial on Flash Builder 4's Wizard to connect to Web Services using the Flex 4 framework. (Flash Builder 4 is the new revision of the product formerly known as Flex Builder. Flex 4 is the new generation of the framework).
Thursday, September 17, 2009
LiveCycle Sessions at MAX Update
This blog post is intended to be an update to reflect some of the latest news. For starters, I want to highlight a sleeper session that I think will be really cool:
Harnessing the Value of User-Centric Applications
See how Deutsche Telekom is using Flex + Adobe LiveCycle in combination with its enterprise systems to streamline and improve HR communications with over 100,000 employees and retirees. Learn about Adobe’s vision for user-centric computing and see an in-depth demonstration that illustrates how the Flash Platform + LiveCycle ES2 together improve customer experience and employee productivity.
Why is this cool? Nothing tells a story like a customer use case. An independent third party who can share their triumphs with LiveCycle ES. I'm going if I do not have conflicts.
The LiveCycle numbers continue to grow, and we now have more sold out sessions. Yes, a VERY NICE surprise for us after 3 years of constant promotion.
LC Pre-conf training:
SOLD OUT
But in the famous words of Douglas Adams, "Don't Panic"! There are still plenty of sessions left. Just don't leave it too long if you don't want to have to wait until next year to find out why LC ES skilled developers are in super high demand. Register today!
LiveCycle Developer Sessions (repeat twice) with spaces left as of today:
What’s New in LiveCycle ES Next
Effective Form Design for Developers
How to Architect Adobe LiveCycle ES into your Enterprise Solutions
Understanding the Building Blocks of Adobe’s Solution Accelerator Program
Developing for Information Assurance with LiveCycle ES
LiveCycle Community Resources Uncovered
LiveCycle Developer Labs (repeat twice) with spaces left as of today:
Developing Applications using LiveCycle ES Workbench Next
The Next Generation of RIA’s in the Enterprise (UPDATE: JUST SOLD OUT!)
Advanced Process Design using LiveCycle Workbench ES
LiveCycle Guides Next – A Common Data Model Applied
Developing Enterprise Solutions using Adobe Solution Accelerators
LiveCycle Envision Sessions with space left as of today:
Harnessing the Value of User Centric Solutions
Enterprise Apps that Work the Way People Work
Next Generation Clinical Trial Apps
Business Value of User Experience
Partnering to Deliver User Centric Solutions
SOA and Services Camp Developer Labs with spaces left as of today:
LiveCycle ES for Service Orchestration (Hands on Lab)
Building AIR LiveCycle Desktop (Hands on Lab)
SOA and Services Camp Developer Sessions:
Enterprise Cloud Computing: LiveCycle Express
Adobe Services, SOA, and Cloud Roadmap
Flex/LC DS Developer Sessions:
High-Performance Real-time Messaging with Flex and LC DS
Introduction to BlazeDs and LiveCycle DS
Integrating Spring with BlazeDS and LC DS
Flex/LC DS Bring Your Own Laptop lab:
Making Real-time data Come alive with Flex Data Services
Flex/LC DS Developer Labs:
Model-driven Development with Flash Builder and LC DS:
BlazeDS and LiveCycle DS in the Cloud
Flex/LC DS Pre-conf Lab:
Using Data Services to Power Flex Applications
Accessibility Developer Session:
Building Accessible LC Forms
ColdFusion Developer Session:
Making the most of CF and LiveCycle
Platform Roadmap: Flash Platform Servers and Services: 25
Register today! Come to MAX. Learn, drink, party!
Tuesday, September 15, 2009
Duane's World Season Two Opener!
The interview with James is very cool as he is very modest about RedMonk's accomplishments. RedMonk has been voted a major force in the IT industry and has re-written a lot of the rules of how the analyst industry works in IT.
Lee Brimelow Adobe MAX promotion
Friday, September 04, 2009
Adobe MAX promotional offer
Regular pricing is here: http://max.adobe.com/registration/fees/
Promotion code: DAN992
Discount Price $1095 for full conference and $1595 for LiveCycle
Expiry: The program lasts for one week and you must use the code by September 11.
Terms & Conditions
The following general restrictions apply to all special Adobe MAX 2009 registration promotions:
Offer good for new Adobe MAX 2009 registrants only. Offer good for Adobe MAX 2009 full conference pass registration only. Offer cannot be combined with any other offer, package or registration code. Offer expires at 11:59pm PST on September 11, 2009. Offer is not transferable and valid only for intended recipient. Void where prohibited. Terms and conditions for Adobe MAX registrations will also apply.
Instructions for Redeeming Discounts with Promotion Codes
Adobe MAX 2009 takes place October 4-7 in Los Angeles, California.
Learn more about Adobe MAX worldwide online at max.adobe.com
Follow these steps to receive your Adobe MAX 2009 registration discount:
Step 1: Visit the MAX 2009 registration site at max.adobe.com/register
Step 2: Select the button for "Yes, I have a promotion code."
Step 3: Enter promotion code DAN992
Step 4: Complete the steps for online registration.
Step 5: Come to MAX and party with us!!! Don't forget to come to the special MAX bash and see the band 22nd Century play live!
Wednesday, September 02, 2009
New Video Tutorial - Drawing Lines in Flex
I never realized the irony until now that I had scribbled over the nice lines Eddie Van Halen had hand painted onto his EVH Frankenstein (the guitar I am playing in the photo below). This was by far one of the best guitars I have ever played in my life.

If you want the full source code for this, please email me dnickull at adobe dot com.
Tschuss!
Tuesday, September 01, 2009
The First new Flex 4 book!!!

The book is currently in the Manning Early Access Program <http://manning.com/about/meap.html> , which enables readers to get the book as it's being written. If you or someone you know is eager to get started with Flex, this would be the perfect primer to pick up.
Here is what the site says about the book:
| Table of Contents | Resources | |
| 1. Getting started - FREE 2. ActionScript 3, XML and E4X - AVAILABLE 3. Hello Spark: Primitives, Components, FXG and MXML Graphics and Video - AVAILABLE 4. Beyond Basics: Spark Containers and Layouts, View States, Effects, Styling and the Component Lifecycle - AVAILABLE 5. Halo Flex 4: Using Halo Components like DataGrid, ViewStack, TabNavigator Accordion and Title Window - AVAILABLE 6. Building User Friendly Forms using Flex Formatters and Validators - AVAILABLE 7. Building a Real Application using Cairngorm: SocialStalkr, A Twitter plus Yahoo Maps Mashup - AVAILABLE |
| |
DESCRIPTION
With Flex 4 you can easily add color and life to your web applications by introducing dynamic user features, slick transitions, and eye-catching animations. Flex also provides powerful data handling capabilities so you can build industrial-strength applications. And it's open source, so you can get started without forking over a lot of your hard-earned cash.
We think it should be just as much fun to learn Flex as it is to use Flex. Hello! Flex 4 shows you everything you need to know to get started with Flex 4 without bogging you down in obscure detail or academic edge cases. In this entertaining, hands-on book, you'll quickly move from Hello World into the techniques you'll need to use Flex effectively.
You'll start by progressing through 26 self-contained workshop items, which include everything from small one-page examples, to a 3D rotating haiku, to building a Connect Four game. Finally, in the last chapter you'll build a full Flex application called 'SocialStalkr': an interesting mashup of Twitter and Yahoo Maps that lets you 'stalk' your friends by showing specially formatted Twitter tweets on a Yahoo map.
WHAT'S INSIDE:
- Create engaging animations and transitions
- Handle and manage user input
- Access and display data
- Communicate effectively with the server
- Build a complete Flex 4 application
Whether you're a weekend developer or you have great plans for Flex, Hello! Flex 4 is a great place to start.
Tuesday, August 25, 2009
Video Tutorial - drawing circles in Flex 3

Video:
This is a simple tutorial on how to draw circles using the flash.display.* package. The tutorial will show you how to build a simple application that will enable you to place a circle anywhere you want and understand the code behind it.
If you want the source code, please email me dnickull at adobe dot com.
Get to Adobe MAX 2009 to see more like this at the 2009 Adobe AIR and Flex Boot Camp being taught by James Ward and myself. Register before the August 31 deadline for the special prices detailed here:
http://max.adobe.com/registration/fees/
Monday, August 24, 2009
I am back from Sabbatical, MAX 2009 update!
I have a lot of email to wade through, phone calls to return and tons of promises to get back to people on various things. Please forgive me if I don't do this all at once. This image tells the story (this is just my gmail account, not my Adobe account).

I will be primarily focusing on Adobe MAX 2009 for the rest of this week. I have tons of great talks and the Services and SOA camp will be largely hands-on workshops and labs this year. Here is a smattering of what we are offering. If you are interested in any of these, please register now.
MAX 2009
Building Flex and Adobe AIR Service Clients 2009
Learn how to build service clients with Flex and Adobe AIR. In this hands-on lab, you will build various service clients using the WSDL Import Wizard, hand-coded ActionScript 3.0, and REST-based services. Attendees should come prepared to write code or to partner with someone else writing code. The following projects will be built: RSS feeds, SOAP endpoints, AMF endpoints (LiveCycle Data Services ES), REST style XML over HTTP, ColdFusion Server (via CFC), PHP, performance (Flash Remoting), fault detection, and best practices.
Speakers: Myself, Duane Nickull
Adobe AIR Boot Camp
Attend the updated version of the most popular lab at MAX 2008! Attendees will go from Flex 101, an advanced Hello World, to move through 7 to 14 subsequent applications. Each application project is carefully designed to maximize learning in a short period of time, covering 2 to 4 new concepts of development within Flex and Adobe AIR. The course will cover major topics including setting up your first project; perspectives; compiling and distributing; using MXML and AS3 side by side; working with data bindings; remote service calls; manipulating audio, video, and images; graphing; and more.
Speakers: Myself, Duane Nickull
LiveCycle ES for Java Developers
Learn Adobe LiveCycle ES in this crash course for developers. Join Evangelists Duane Nickull and Greg Wilson for a completely hands-on approach that provides solid insight into how to build, deploy, and aggregate services into automated business processes. At the heart of LiveCycle ES are powerful Java libraries for manipulating PDF documents. These services can also be called remotely from a J2EE environment via EJB or SOAP endpoints. Attendees will master how to consume services to perform operations on PDF/XDP documents; convert documents; extract XMP; and work with forms, SAP systems, and digital signatures.
There will be more coming in the next few days. Adobe MAX is going to be really good this year. Come to LA!!
Tuesday, August 04, 2009
Video Tutorial: Working with SOAP in Flex/AIR
Saturday, August 01, 2009
Data Driven Development with LiveCycle Data Services 3 and Flash Builder 4
1. Start the LiveCycle Data Services SampleDB. To do this, open a command window (Windows) or terminal (Linux/Mac OS X), navigate to the folder where you installed LiveCycle Data Services, and type startdb (Windows) or sh startdb.sh (Unix based systems).

2. Next, start the LiveCycle Data Services server. This is done by navigating to the [LiveCycle_Data_Services_install_directory]/tomcat/bin and typing catalina run (Windows) or sh Catalina.sh run (Unix based systems).
3. Set up a new project in Flash Builder and use the following settings:
Web Application (Checked)
Use the Current SDK (FLex 4.0) (Checked)
Application Server Type (J2EE)
Then use the settings below:

4. In the next dialog, specify the settings as shown below (default LiveCycle Data Service install) or modify as appropriate for your install. Click “Validate Configuration” to ensure your settings are correct before continuing.

5. Switch to Design view and click “Edit Active Data Model”
6. If the RDS tab is not enabled choose Window > Other Views > Adobe Data Model > RDS Dataview, as shown:
7. Drag public Product into the main panel.
8. This creates a new Fiber data model
9. IMPORTANT – Save the file!
10. Click the Deploy Model to LCDS Server icon as shown below:
11. Fill in the dialog as follows:
12. Switch to the main.mxml component and drag a new data grid onto the screen in Design view.
13. Drag the Product database onto the data grid and run the program.
14. Note that no code has been written yet
15. Close the running application
16. Right-click on the Product data model and select “Generate form”
17. Select “Model Driven Form” as shown:
18. Re-arrange the design view and run it again.
19. Go to source code of the main.mxml and change the one line of code to as shown below:
20. Run it again and see that you have now the selected item bound to the form.
Friday, July 31, 2009
Flash Builder 4 Tutorial 2: RESTful Services
First - there are multiple new namespaces in Flash Builder 4. These appear to be confusing at first but you should not be scared by them.

Fx is for the Flash Catalyst packages and contains some new drawing primitives and more. Some of the old
Flex defines two other sets of components: Halo and Spark. The Halo component sets were included in previous releases of Flex, and are defined in the mx.* packages. The Spark components are new for Flex 4 and are defined in the spark.* packages. The Spark components use a new architecture for skinning and have other advantages over the Halo components.
The Halo and Spark component sets contain many of the same components. For example, both component sets define a Button control, TextInput control, and List control. However, while you can use Halo components to perform most of the same actions that you can perform by using the Spark components, Adobe recommends that you use the Spark containers when possible.

A third thing you will see is that the layouts are no longer contained in the header. Instead, they are declared inside a

Here is the Project:
1. Start a new project in Flash Builder 4. Select no server type and either option for the AIR/Flash toggle.
2. Grab a browser and you should be able to validate the servers are up and running by hitting the following URL: http://www.nickull.net/xml/Wines.xml You should see the following XML file:

Note 1: In order for this to work, a small file called crossdomain.xml is in the same directory as the Wines.xml on the server. This file helps Flash Player mitigate cross domain scripting attacks. Describing what this file does is beyond the scope of this tutorial, however more can be read at http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001621.html
Note 2: All the wines on this list are favorites and make great gifts for Adobe Evangelists who post tutorials to help you with your work ;-p
3. Copy the URL (Command -C on Mac or Control-C on PC)
4. At the bottom of the Flash Builder IDE, click on the Connect to Data Services link shown below.

5. This will bring up a dialog box with a number of choices for services. Select the HTTPService option as shown below:

6. Click “Next” and then fill in the next screen by adding the name of the service (“srv” in this case) and add the URL.

7. After completing this operation by clicking “Finish”, you will see the data services in the panel at the bottom.

8. Next we need to add an object to bind our data to. Switch to Design view and drag a DataGrid
9. Highlight the DataGrid, then right-click (Control Click on Mac) the DataGrid object and select Bind To Data from the menu as shown below:

10. This will bring up the “Bind to Data” dialog box. Click on “Configure Return Type” to configure the datatype for the returned object.

11. The next dialog will prompt you for a datatype. NOTE: on other projects, you might wish to use one of the default data types; however on this one, we are going to create our own object type called “WinesArray” as shown below.

12. Click “Next”
13. The next dialog will invoke the service request to get a sample of the data to inspect. For this lab exercise, select the radio button labeled “Enter complete URL …” and enter the URL of the XML file in the “URL to fetch” box below and click “Next”.

14. Flash Builder will go to the URL, retrieve a sample of data, and break down its structure for you. In this case, it has selected that it may be an array. Rather than accept the first option as is, use the drop down list to select a context root of “Vintage” as shown below.

15. Now you will have the following

16. Click “Finish”
17. Close the last dialog by clicking “OK”
18. Your project should now reflect the DataGrid being bound to the data as shown below:

19. Run the project and you Flex 4/AIR application will build and display the XML from the server.
Monday, July 27, 2009
Wednesday, July 22, 2009
Tutorial on Flex 3 Charting
[Bindable]
private var medalsAC:ArrayCollection = new
ArrayCollection([
{Country: "Germany", Beer:12, Hockey: 2, Fun: 99},
{Country: "Canada", Beer:12, Hockey: 28, Fun: 99},
{Country: "England", Beer:49, Hockey: 12, Fun: 10}
]);
In this tutorial you will learn how to get this to render into a bar chart that looks like this:

Here is the video:
The link is http://tv.adobe.com/#vi+f1472v1124
Monday, July 20, 2009
Tutorial and Examples for Drag and Drop in Adobe AIR
Code (Flex 3, AIR 1.5)

Come to see and learn more cool stuff like this at Adobe MAX 2009, Los Angeles, CA, Canada (near Madrid, Italy)
;-)
Making sense of all SOA standards work
"This joint white paper explains and positions standards for SOA
reference models, ontologies, reference architectures, maturity
models, modeling languages, and governance. It outlines where the
works are similar, highlights the strengths of each body of work, and
touches on how the work can be used together in complementary ways. It
is also meant as a guide to users of these specifications for
selecting the technical products most appropriate for their needs,
consistent with where they are today and where they plan to head on
their SOA journeys."
The white paper, "Navigating the SOA Open Standards Landscape Around
Architecture," is published on the web sites of all three
organizations:
OASIS - http://www.oasis-open.org/committees/download.php/33412/W096_09-07.pdf
OMG - http://www.omg.org/cgi-bin/doc?ad/2009-06-03
The Open Group - http://www.opengroup.org/projects/soa/uploads/40/20044/W096.pdf
Thursday, July 16, 2009
Adobe LiveCycle ES Developer Contest
How to enter is here:
http://demo.host.adobe.com/M3/contest.html
Good luck and get coding!
Wednesday, July 01, 2009
Flash Builder 4 Tutorial - writing data to a hard drive
Here is the source code. This code has been updated for Flex 4 (Download Flash Builder 4 beta) - AIR 1.5. Email me if you want to get code that you can cut and paste (dnickull at adobe dot com).
Sunday, June 28, 2009
Flash for Mobile Rocks! HTC Hero is the Future!
If I had to hedge my bet on a long term winner for the mobile space, I place my bet on Android. Sorry Apple - you are just pissing off too many developers. Many of the developers in the real world work their behinds off to make awesome apps then they get blacklisted with no explanation. Apple tries to kill open source frameworks like PhoneGap while Android embraces them.
Android now not only challenges iPhone, but blows it away. The newest HTC phone has Flash 9 capability with Flash 10 coming later this year. People can now experience Web content and applications that cannot run on the iPhone. Flash developers can make use of their talent for the Android Mobile O/S. Keeping in mind that about 80 percent of all videos online use Adobe
Flash.
When I get back to Canada I am going to ditch my 3G and get the HTC Hero.
Saturday, June 27, 2009
Outline for MAX: LiveCycle ES for Java Developers
CAVEAT: This is subject to change--but if so, we would like to change it based on your input here!!
We'd like to post the outline here to get comments back on how we can make this the best course ever for LC ES and Java Developers. Please append any comments or ideas below.
********************
SESSION OUTLINE: LiveCycle ES for Java Developers (3 HOUR MEGA LAB)
Marcel Boucher, Scott MacDonald (Contributor for content), Duane Nickull, Greg Wilson
Audience Assumptions
- This is a lab for Java developers who want to learn how to unlock the full potential of LiveCycle ES.
Note: This is a Bring Your Own Laptop (BYOL)lab. We will prepare a separate set of instructions to provide attendees with prerequisite and instructions to prepare for this lab. It will explain in detail how to install the following software:
Prerequisites:
o Experience with the Java programming language 1.6 or later.
o Familiarity with XML syntax rules
Software Requirements (needs to be installed - subject to change at last minute but we will tell you)
o Acrobat 9 Pro Extended
o Microsoft .NET 1.1 runtime
o Java JDK 1.6 or later installed with JAVA_HOME and PATH set
o LiveCycle WorkBench must be installed. If Linux/Mac OS X or Unix, VMWare must be installed to run workbench.
o LC ES Server will be addressable via the LAN on a specific IP address.
NOTE: A special virtual session will be scheduled at the MAX facility prior to this BYOL Mega Lab to help attendees ensure they have all the necessary software installed and configured correctly. An instruction video will also be made available a week before the lab.
Session Description
This crash course will enable developers to learn all about Adobe LiveCycle ES. The course is completely hands-on and provides solid insight into how to build, deploy, and aggregate services into automated business processes. At the heart of LiveCycle ES are powerful Java(tm) libraries for manipulating PDF(ISO 32000) documents. These services can also be called remotely from a J2EE environment via EJB or SOAP endpoints. This hands-on lab will show attendees how to consume services to perform operations on documents including how to create and manipulate PDF documents, converting documents, extract XMP metadata, explore PDF/XDP documents, working with forms, SAP system data, and digital signature tasks.
Topics
Lab 0: Forward:
Opening – survey audience – learn about them.
- How many have used LC ES before (any version)?
- How many are using current version?
- Find out how much Java experience they have (to adjust mega lab as required on the fly)
LiveCycle ES architecture for those who are not familiar with LC ES (optional – only present if there are those who do not know LC ES or are vague).
What’s new in LC ES (scope to what is relevant to know for this mega lab)
Any housekeeping – launching VMWare images, where to address an instance on network (LAN or WAN).
Lab set up
- location and configuration of *.jars
- Configuration of Eclipse (assuming we use it)
- Importing the Java project with the labs and samples.
- TAs to help anyone with Classpath difficulties or similar
Lab 1: Verifying LC ES is running and logging in.
Objective: Learn how to ensure your LC ES instance is up and running. Log file location, pinging the server, logging in to adminui or workspace.
- Expected duration: 10 minutes
Lab 2: Configuring users via the AdminUI
Objectives: Learn how to ensure a new user has access to programmatically use the LC ES PDFG services. This is done by making the user a PDFG user.
- Expected duration: 10 minutes
Lab 3: Using Java API to make a PDF Document
Objectives: Learn how to make a PDF Document from a Java programming environment by calling up the PDFG Service using SOAP. This is largely hands-on coding. The skeleton of the class will be finished with the connection properties and outline with TODOs. Attendees will code up the solution to this lab, run it, and convert a document to PDF via SOAP.
- Expected duration: 15 minutes
Lab 4: Building, Compiling and Deploying a Server-Side Component
Objectives: Learn how to build a custom server-side component and what it means to deploy it to the server. Attendees will build a new component, compile it, and deploy it to the server.
- Expected duration: 25 minutes
Lab 5: Making a Java Class to call your server side component over EJB
Objectives: Talk to the newly deployed custom component via EJB endpoint. Attendees will code up a new EJB service client class and call their newly deployed component.
- Expected duration: 15 minutes
Lab 6: Adding your custom component to a LiveCycle Process
Objectives: Learn how to include the newly created custom component into a LiveCycle Business Process using workbench. Attendees will also add another service or two to their endpoints and note how the properties dialog align with the Java method signatures (coding without writing code!)
- Expected duration: 15 minutes
Lab 7: Programmatically Starting and stopping your new process
Objectives: Learn how to programmatically start the newly created LC ES process from a Java environment and also query the running processes using the APIs (note – if supported via REST, otherwise, use SOAP).
- Expected duration: 15 minutes
Lab 8: Exporting and re-importing an *.lca Application
Objectives: Learn how to export and re-import a *.lca (note – this is possibly not aligned with the talk title so needs a good thinking).
- Expected duration: 15 minutes
Labs 9-12:
We should prepare 3 more labs that call the LC ES infrastructure in case all attendees get through the first bits before the 3 hour lab is up. Would like to suggest we add the most common calls based on the LC ES quick starts:
- converting a PDF to an XDP (explain what XDP is etc.)
- Importing/Exporting XMP metadata using the Java API
- More Process management (time permitting):
o Searching for/Suspending process instances using the Java API
o Starting suspended process instances using the Java API
o Terminating process instances using the Java API
o Purging process data using the Java API


