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.
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
Monday, June 22, 2009
Hamburg FlexUGHH und Mir!
While in Europe, Sebastian and Marta asked me to pop over to Hamburg to do a talk for their user group. The event took place at an IBM office and was totally packed. The group was awesome and I felt totally well received (Danke fur die Bier!). We spent most of the time trying out the new features of Flash Builder 4 and helping developers understand the changes prior to them getting their hands on it. As with Berlin, a lot of Flex 3 developers had issues trying Flash Builder 4. We found it very useful to work through the changes together starting with all the new namespaces (Spark, Halo, FXG et) plus the variants of MX NS values (2009, 2006, halo). The big hits were the new advanced package explorer for each class, highlighting other instances of a class where it appears in the program (something Java developers are used to in Eclipse), advanced code hinting, content assist, class wizards and more. The network monitor won lots of friends.
I thought I would have the record of being the speaker to come from furthest away, however someone else apparently came from New Zealand (perhaps Kai?). The ColdFusion demo was a highlight!
Saturday, June 20, 2009
Flash Summer Camp Berlin
"I love User Groups!!!"
Let me repeat that:
"I REALLY love User Groups!!!"
The fact they are all developers really makes me feel comfortable so we spent a lot of time concentrating on what will bite you when you go from working in Flex Builder 3 to Flash Builder 4 (the successor IDE, which still uses the Flex 4 framework). In general, a lot of Flex 3 developers had issues trying Flash Builder 4. I found it very useful to walk them through the changes starting with all the new namespaces (Spark, Halo, FXG et) plus the variants of MX NS values (2009, 2006, halo). Many of them were confused why we would do this and the complexity that was added. Once explained in terms they understood, they quickly became friendly with it and liked it. The big hits were the new advanced package explorer for each class, highlighting other instances of a class where it appears in the program (something Java developers are used to in Eclipse), advanced code hinting, content assist, class wizards and more. The network monitor won lots of friends, especially when demonstrating data paging.

The idea here is that alike when you request a map on your cell phone, you do not get all the data in one response to your original request, but it pages data as needed (on a cell phone tiles for your map). The server side PHP API takes two arguments, the start index and number of items to return. As the datagrid realizes it requires more data to fill more rows, it sends additional pages back to the server (MAMP in this case) to request the data and display it just in time.
Andre Michelle needed more time for his track so Sven Claar and I did a totally improvised joint session, taking queues from the audience as to what to see or do next. Sven covered the work flow with Catalyst and some other great stuff.
One theme that I found was an intense interest in BlazeDS and LiveCycle Data Services ES and more people wanting to understand them in more detail.
If you have not gone to a user group meeting lately - you better arrange to join and attend one soon. Some of the best times you can imagine (and free beer too!!!). Find one near you here:
http://groups.adobe.com/pages/home
Berlin-Brandenburger SAP Forum
The students were totally enthusiastic and the faculty has been very knowledgeable in how they view SaaS and especially the architectural model exploring how to use Adobe’s stack to quickly offer SAP systems data using the SaaS model. The SAP speakers also had some great talks on SaaS and it is clear to me that Adobe and SAP need to work more closely together to harness the great power of SAP's enterprise while delivering business intelligence with Adobe's RIA stack.
My white paper on SaaS architecture was published in the official SAP SaaS Wirtschaftsinformatik. The same white paper is also published on the SaaS architectural area of Adobe's website.
I would love to be able to follow this up by coming back to teach a full day (maybe 2 days?) Flex Boot Camp at the University. This would involve a course similar to the one in Vancouver, except updated to reflect the new FB4 and F4, Catalyst work-flows and frameworks.
As I was in Brandenburg, basically a beautiful place, I was reminded of the Dalai Lama's advice - go every year to a place you have never been before. What a great way to live!
The presentation is available at http://www.web2open.org/presentations/Core-SaaS-Patterns_2009_NICKULL.pdf
Berlin University Semantics and Ontology Keynote
The keynote was for the Berlin Semantic Meetup group, which was an excellent meetup. The group is very well run and Adrian Paschke. We got to meet inside a large atrium with plenty of refreshments and great people!
The combination of Event driven architecture, SOA, CEP models, and BPM could deliver great advancements in discovery, configuration, and composition of appropriate process components, information objects, and services. Given Adobe LiveCycle ES has already a lot of the BPM and SOA tenets baked into the product, it was interesting to see attendees validate the architectural decisions of LiveCycle ES. While I did not speak directly on LiveCycle, it was always on the back of the mind.
The field of Computational Intelligence is really starting to heat up. As a member of the IEEE Computational Intelligence Society I plan to contribute some ideas to the movement.
I have uploaded my presentation on the OASIS SOA Reference Model, Semantics, Ontology and Adobe work in the space. The slides are available online here.
Friday, June 12, 2009
Adding Digital Signatures to a PDF Document with Java
For this exercise, you will need to make a call to a server running Adobe LiveCycle ES 8.2.1. You will have to have it set up with appropriate user names and permissions. To learn how to set up Eclipse with this project and your development environment, please see the previous article here in this video: http://www.adobe.com/devnet/livecycle/articles/invoke_services.html
Set your domain name:port and the username and password in the code below. To programmatically add a Signature Field to a PDF document, the LC ES SDK offers a service client method called addSignatureField(). Here is the method signature (click to expand):
During this exercise you will also learn how to invoke an Adobe LiveCycle ES service using the Java SDK to add a visible signature field to a PDF document. The expected duration is approximately 15 minutes.
Step 1: Set up a new Java class call AddSignatureField in Eclipse. Import the same jars as per the previous lesson and also add the jar that contains the packages com.adobe.livecycle.signatures.client and com.adobe.livecycle.signatures.client.types. Copy the following code into your class:
package org.duanesworldtv.livecycle.samples;
import java.util.*;
import java.io.File;
import java.io.FileInputStream;
import com.adobe.livecycle.signatures.client.*;
import com.adobe.livecycle.signatures.client.types.*;
import com.adobe.idp.Document;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
public class AddSignatureField {
public static void main(String[] args) {
try
{
//Set connection properties required to invoke LiveCycle ES
Properties ConnectionProps = new Properties();
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_SOAP_ENDPOINT, "http://<your_server>:<port>");
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_SOAP_PROTOCOL);
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "p@ssw0rd");
//Create a ServiceClientFactory instance
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
//Create a SignatureServiceClient object
SignatureServiceClient signClient = new SignatureServiceClient(myFactory);
//Specify a PDF document to which a signature field is added
FileInputStream fileInputStream = new FileInputStream("/Users/duane/Desktop/eclipse/workspace/JavaOne2009-docs/test.pdf");
Document inDoc = new Document (fileInputStream);
//TODO: Specify the name of the signature field
//TODO: Create a PositionRectangle object that specifies
//the signature fields location
//TODO: Specify the page number that will contain the signature field
//Add a signature field to the PDF document
Document sigFieldPDF = signClient.addSignatureField(
inDoc,
fieldName,
pageNum,
post,
null,
null);
//Save the PDF document that contains the signature field
File outFile = new File("/Users/duane/Desktop/eclipse/workspace/JavaOne2009-docs/test-signed.pdf");
System.out.println("Signature added, file saved!");
sigFieldPDF.copyToFile(outFile);
} catch (Exception ee) {
ee.printStackTrace();
}
}
}
Step 2: Make sure your code looks similar to the following. There should five TODOs, two of which are merely paths.
We need to add code to complete the parameters required to write the code where the "TODO" markers are. Study the method signature to understand what each required parameter is.
Parameters
inPDFDoc — A com.adobe.idp.Document object that represents the PDF document to which the signature field is added. This is a required parameter and cannot be null.
signatureFieldName — The name of the signature field. This is a required parameter and cannot be null.
pageNumber — The page number on which the signature field is added. Valid values are 1 to the number of pages contained within the document. This is a required parameter and cannot be null.
positionRectangle — A PositionRectangle object that specifies the position for the signature field. This is a required parameter and cannot be null. If the specified rectangle does not lie at least partially on the crop box of the specified page, an InvalidArgumentException is thrown. Also, neither the height nor width value of the specified rectangle can be 0 or negative. Lower left X or lower left Y coordinates can be 0 or greater but not negative, and are relative to the crop box of the page.
fieldMDPOptionsSpec — A FieldMDPOptionSpec object that specifies the PDF document fields that are locked after the signature field is signed. This is an optional parameter and can be null.
seedValueOptionsSpec — A PDFSeedValueOptionSpec object that specifies the various seed values for the field. This is an optional parameter and can be null.
TODO:
The first line of code you have to add will be the name of the signature field itself. This can be whatever you want. Signature fields in PDF documents are named uniquely so you can further manipulate them programmatically to do things like validate signatures, get signature values and more.
//TODO: Specify the name of the signature field
String fieldName = "SignatureField1";
Step 4: You now need to create a "PositionRectangle" object that specifies the signature fields location. This is done via 4 integers which correspond to the (int lowerLeftX, int lowerLeftY, int width, int height). These represent the position of a signature field located within a PDF document. A signature field's rectangle defines the location of the signature field on the PDF document page in default user space units. An object of this type can be programmatically added to a PDF document.
//TODO: Create a PositionRectangle object that specifies
//the signature fields location
PositionRectangle post = new PositionRectangle(193,47,133,12);
Step 5: The last thing you have to do is to specify the page number. This may be confusing but values start at 1 (not zero) and go up. This is a mandatory requirement and will throw an error if left null. HINT: The document we are using is only one page long.
//TODO: Specify the page number that will contain the signature field
java.lang.Integer pageNum = new java.lang.Integer(1);
Step 6: Your code should now be ready to compile and run. It should look like the code below:
package org.duanesworldtv.livecycle.samples;
/*
* This Java Quick Start uses the following JAR files
* 1. adobe-signatures-client.jar
* 2. adobe-livecycle-client.jar
* 3. adobe-usermanager-client.jar
* 4. adobe-utilities.jar
* 5. jbossall-client.jar (use a different JAR file if LiveCycle ES is not deployed
* on JBoss)
*
* These JAR files are located in the following path:
*/Adobe/LiveCycle9.0/LiveCycle_ES_SDK/client-libs/common
*
* For complete details about the location of these JAR files,
* see "Including LiveCycle ES library files" in Programming
* with LiveCycle ES
*/
import java.util.*;
import java.io.File;
import java.io.FileInputStream;
import com.adobe.livecycle.signatures.client.*;
import com.adobe.livecycle.signatures.client.types.*;
import com.adobe.idp.Document;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
public class AddSignatureField {
public static void main(String[] args) {
try
{
//Set connection properties required to invoke LiveCycle ES
Properties ConnectionProps = new Properties();
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_SOAP_ENDPOINT, "http://<your_server>:<port>");
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_SOAP_PROTOCOL);
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "p@ssw0rd");
//Create a ServiceClientFactory instance
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
//Create a SignatureServiceClient object
SignatureServiceClient signClient = new SignatureServiceClient(myFactory);
//Specify a PDF document to which a signature field is added
FileInputStream fileInputStream = new FileInputStream("/Users/duane/Desktop/eclipse/workspace/JavaOne2009-docs/test.pdf");
Document inDoc = new Document (fileInputStream);
//Specify the name of the signature field
String fieldName = "SignatureField1";
//Create a PositionRectangle object that specifies
//the signature fields location (int lowerLeftX, int lowerLeftY, int width, int height)
PositionRectangle post = new PositionRectangle(193,47,133,35);
//Specify the page number that will contain the signature field
java.lang.Integer pageNum = new java.lang.Integer(1);
//Add a signature field to the PDF document
Document sigFieldPDF = signClient.addSignatureField(
inDoc,
fieldName,
pageNum,
post,
null,
null);
//Save the PDF document that contains the signature field
File outFile = new File("/Users/duane/Desktop/eclipse/workspace/JavaOne2009-docs/test-signed.pdf");
System.out.println("Signature added, file saved!");
sigFieldPDF.copyToFile(outFile);
} catch (Exception ee) {
ee.printStackTrace();
}
}
}
Now run the code. Note that this lab will take about 15 seconds to completely run--probably longer if there are many people all logging in at the same time.
Navigate to the path you specified for the output file and see your document. You should see a PDF document with a signature!
Displaying HTML in Flash Builder 4

Demonstrates the WebKit engine including a discussion on how much is available from Webkit in AIR. We will write this project from scratch and learn how to
set the URL, how it handles international characters, CSS and AJAX.
Instructions:
Step 1: Build this from Scratch (new -> Project -> AIR…). This will not work as a Flex application as the HTML component is not part of the Flex framework. Use the settings as shown in the image below:

Step 2:
Add a vertical layout manager to your project by adding the following lines of code:

Solution

Tuesday, June 09, 2009
Great write up on Web 2.0 Architecture book
Book: Web 2.0 Architectures from O'Reilly
O'Reilly Media has released a new book on Web 2.0. Called Web 2.0 Architectures, this book should help you understand better the inner workings of Web 2.0 from a technology perspective and how some online services today have been successful with this model.
If you are looking to understand Web 2.0 from a marketing perspective, this may not be the book for you. But if you are a web architect, business analyst or someone who wants to build your own Web 2.0 website or solution, there is bound to be some information in this book to get you started.
I'd personally also like to re-thank Mark Little, Simon St. Laurent and Matt MacKenzie for their work on this book too. While not reflected in the credits, these three had an immense impact on the thinking and research that led to this book. Last but certainly not least, Tim O'Reilly himself deserves a lot of credit for challenging us on how we think about patterns and interpret Web 2.0. Again, while not reflected in the book, all of these people were instrumental in shaping this work.
Monday, June 08, 2009
Force.com Toolkit for Adobe AIR and Flex
HB Mok pinged me internally and was really stoked to see that the Force.com toolkit for Adobe AIR and Flex has been updated. The toolkit enables developers to access data and business processes held within Force.com from a Flex or AIR programming environment. Needless to say, developers could quickly code up some rather sweet looking mashups using that data in no time at all.
Anyone got a project they need built? ;-p
Thursday, June 04, 2009
LiveCycle @ MAX bundle - new for 2009!
The main reason I wanted to make this post is to make sure that people know this is where they can go to get training on LC ES and also receive in depth product knowledge transfer. I also want to let you know that there are huge discounts available for registering early for this at MAX 2009. Register for this by August 10 and receive US$200 off the regular price of a full conference pass.
The program itself is for enterprise developers and combines 1.5 days of introductory preconference training on LiveCycle ES (Enterprise Suite) with a full conference pass to MAX 2009.
The preconference lab, "LiveCycle ES: Building Rich Engaging Applications," is an essential introduction to developing user-centric applications with Adobe LiveCycle ES. LiveCycle ES allows both business and IT professionals to visually assemble end-to-end processes, which when combined with rich interfaces, create engaging applications that unify systems and people quickly and flexibly. We'll present an end-to-end use case bringing a rich Internet application (RIA) and a LiveCycle application together. You will learn about the LiveCycle IDE, the Admin User Interface, and the LiveCycle ES solution components as we guide the participants through the development of this comprehensive use case.
We strongly recommend this training to those new to LiveCycle ES, or those who would like a refresher, in order to get the most value out of the more advanced LiveCycle topics that will be presented during the MAX event.
The LiveCycle ES: Building Rich Engaging Applications preconference lab will take place the following dates and times at the Los Angeles Convention Center, the same venue as MAX 2009.
| 11:00am–12:00pm | Registration |
| 12:00pm–1:00pm | Lunch |
| 1:00pm–5:00pm | LiveCycle ES: Building Rich Engaging Applications preconference lab |
| 8:00am–9:00am | Continental breakfast |
| 9:00am–12:00pm | LiveCycle ES: Building Rich Engaging Applications preconference lab |
| 12:00pm–1:00pm | Lunch |
| 1:00pm–5:00pm | LiveCycle ES: Building Rich Engaging Applications preconference lab |
Thursday, May 28, 2009
Flex Video Tutorial - Handling Communication Faults
Tuesday, May 26, 2009
Tour de LiveCycle Launches!
To install, click on the badge below.
Flash Summer Camp Berlin!
This will be a whole day of experts sharing hands-on coding, presentations, and their knowledge with you. Topics include Flash, Flex and AIR, ColdFusion, Frameworks, Designer Development Workflow, and many more. If you are in Berlin June 14, you might want to come and meet some of the Adobe team and community leaders, as well as network with fellow developers and designers.
Whether you’re just getting started with the Flash Platform, or consider
yourself an expert, there’s something for you!
Ich hoffe auch, dass zu viele Biere mit meinen Freunden in Berlin in einem Biergarten (mit Sonne!)
Bis denn!
Monday, May 25, 2009
Duane's World Episode 20
Friday, May 22, 2009
Can Squirrels code RIAs in Adobe Flex?
Thursday, May 21, 2009
Web 2.0 Architecture - the book is here!

Here are my other thank yous in no particular order.
Kevin Lynch, Michele Turner, and Jeff Whatcott from Adobe for letting this
take precedence over filing status reports ;-); my wife, Bettina Rothe, and
my children for putting up with me during the process; Ted Patrick, James
Ward, Prayank Swaroop, Alex Choy, Kumar Vora, the entire Adobe Platform
Business Unit, Enrique Duvos, Ivan Koon, Mihai, Serge, Tom, Piotr,
Chet, Greg, Eugene Lee, Waldo Smeets, John Hogerland, The rest of Redmonk, Burton, Gartner, Ben Watson, Matt Mackenzie, Melonie Warfel, Ed Chase, Diane
Helander, David Mendels, and Ben Forta for challenging the intellect and
generally being great people to work with; Ensemble, Rom Portwood for the blue hair
idea and the Balvenie 21-year Portwood finish; Bobby Caudill (when is that
demo tape coming???); Andre Charland (Nitobi and constant blogger); my bands
22nd Century (http://ww.myspace.com/22ndcentury) and Stress
Factor 9 (http://www.myspace.com/stressfactor9); the guys and girls at
Weissach for keeping the Porsche tuned; Matt and Trey, the creators of
South Park, for inspiring me to reach for something lower, and Beavis and
Butthead for inspiring me to create things that truly do not suck; Dilbert
creator Scott Adams; Sim Simeonov, Mike Connor, Danny Kolke, Greg Ruff, Ajit Jaokar,
Jeremy Geelan, Tim Bray, Mark Little (for taking time out of his busy
schedule to help edit this book); Yefim Natis (Gartner); the entire staff at
OASIS and UN/CEFACT; Bruce D'Arcus (the guy who I like the most despite the
fact that we never agree J), Audrey Doyle; Gary Edwards; David RR Webber;
Colleen Nystedt (friend, movie producer, and creator of MovieSet.com); Bob
Sutor; Christian Huemer; Birgit Hofreiter (for teaching me about
modeling); Brian Eisenberg; Arofan Gregory (how was that Barcelona-ian
brandy?); all the people involved in the creation of this book and O'Reilly
Media for taking on the project; John Sowa for making sense of propositional
algebra; Adam Pease for SUMO and for being an upstanding, approachable
academic; David Luckham for sharing good Scotch over discussions on CEP;
Gary Dunn; Dick Hardt (my Porsche is almost as fast as yours); Guy Kawasaki;
Bob Glushko; Shantanu Narayen and Bruce Chizen, Adobe Systems CEO, for inspiring me
on a great humanitarian level and showing that corporate success and good
community go hand in hand; all of Adobe PR for putting up with my antics;
Johnny Rotten, Randy Rampage, Zippy Pinhead, Jim Morrison, and Kurt Cobain (for their immense wisdom and teaching me that speaking the truth is never wrong); Peter Brown (who gets stuck with the next wine bill); Pam Deziel (I'll invite you to wine if it's
Peter's turn to buy); Marc Straat; Marc Eaman for drinking beer to help
lower my wine bills and reminding me that old guys can play great ice
hockey; Chuck Meyers for not questioning my wine bills; and my friends and
colleagues who have helped me over the years in this high-tech life.
The book is available here (Click on Book)
Wednesday, May 20, 2009
Video tutorial - talking to BlazeDS from Flex
Tuesday, May 19, 2009
New Flex Course available for everyone
Preparation
To take this course, you will need to do the following:
1. Install and configure Adobe Flex Builder 3.0 or later
2. Set up an account with Yahoo Developer Network and get an API key
3. Download the Yahoo SWC file
4. Download the ESRI SWC file
5. Download and take the course from here - http://www.web2open.org/courses/Where2.0.zip
This lab preparation assumes you need to install everything from scratch. While these instructions cover installing a standalone Flex Builder, it is also possible to install Flex Builder as an Eclipse plugin. Please seek out and follow the instructions from the Adobe website if you wish to install the plugin version.
Where possible, notes are augmented for Mac OS X, Linux, and Windows.
A. Installing and configuring Adobe Flex Builder.
1. Go to http://www.adobe.com/cfusion/entitlement/index.cfm?e=flexbuilder3 and download the Flex Builder trial.
2. Open up the disk image and follow the on screen instructions.
3. Note where you set up your workspace. This is where you will place all the files you work on and various libraries needed for this course.
4. Mac OS X: By default, this will be under your ~home_directory/Documents/Flex Builder 3.
5. Windows: By default, this will be under your c:\Program Files\Adobe\Flex Builder 3.
LINUX ONLY
6. For the Linux version, download the plugin from http://labs.adobe.com/downloads/flexbuilder_linux.html.
7. Run the installer either marking it as executable (chmod +x) or by using a shell to execute it (sh flexbuilder_linux_install_a4_081408.bin).
8. When prompted, specify whether to install Flash Player 9 (note that this is an updated version of Flash Player 9 and that Flex Builder Linux will work with earlier versions of Flash Player 9 for Linux). This is the debug version of Flash Player 9, which is required for debugging support and exception display.
B. Set up and account with Yahoo and download the SWC file.
1. Use your browser and navigate to https://developer.yahoo.com/wsregapp/
2. Sign in if you already have an account or register for a new one. If you have already registered for an API key, you can see it via the hyperlink near the top of the page.
9. If you do not have an API key, fill in the form and agree to any license terms.
10. Click “Submit” and a key will be generated for you. Make sure you save it somewhere in a text file on your desktop.
C. Accessing the YahooMaps.swc file.
1. Next, you need to download and install the Yahoo Maps SWC file. Aim your browser at http://developer.yahoo.com/flash/maps/
2. Save the zip to your hard drive and open the archive. You will see a file called YahooMaps.swc inside the zip.
3. Remember the location of this file as you will need it for Labs 2,3,4.
d. Download the ESRI ArcGIS SWC library.
1. Navigate to http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=downloadDisclaimer
2. Agree to the terms and conditions of the license and click “Download”.
3. Save the file to your hard drive as you will need it for labs 5,6,7.
4. Unzip the file and you will see a SWC file as shown in the course setup guide.
5. Remember the location of this file as you will need it for labs 4,5,6.
That is all for now – now you can start the labs.

