Monday, July 20, 2009

Making sense of all SOA standards work

After an exhausting 6 months of work that began this January when Heather Kreger, Jeff Estefan, Eric Dabbaghchi, Chrish Harding, myself and a few other members of OASIS, OMG, and The Open Group began to work to reconcile and harmonize the various standards around SOA, we have now published a new white paper, "Navigating the SOA Open Standards Landscape Around Architecture." The key focus of this work was to enable anyone serious about SOA (excluded - those who use the acronym to sell products or marketing reports) to understand the myriad of works that discuss SOA. From the press release (OASIS, OMG and the Open Group):

"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

That is correct - win some money!!! This will be the very first LiveCycle ES developer contest. Since the main driver of the next release of LiveCycle ES is usability and developer productivity, we are really interested in your feedback as well as the applications you are able to build and are holding a contest to see who can build the coolest application. All entries will be judged by a panel of experts with prizes awarded for entries that illustrate the power of combining Rich Internet Application and LiveCycle ES while using as many solution components as possible. Winning entries may be chosen to be showcased at MAX 2009 this Fall.

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

ADC Presents - Writing Data to a Hard Drive from Adobe AIR. The Adobe Developer Connection tutorial is about 5 minutes long and explains all the main concepts for how to ensure you can get data persisted to the hard drive from AIR. Special thanks to James Ward and Bruce for this sample.




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!

As reported by the SFGate: "The HTC Hero opens up a whole world of multimedia content with support for Flash 9, intensifying the spotlight on Apple's lack of cooperation with Adobe in bringing Flash to the iPhone."

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

Greg Wilson, Marcel Boucher, and I will be leading a mega lab at Adobe MAX 2009. Special thanks to Scott MacDonald (Adobe) for helping with a ton of preparations on this course too. It was largely his idea.

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

At the invitation of Bettina Schulz, I came to Berlin Flash Summer Camp to do a talk on Flex and Flash Builder 4. Bettina and Mathias Stäbler arranged a great venue and had other luminaries there such as Sven Claar and Andre Michelle. It was well attended (perhaps 80-120) and the attendees were blessed with some great talks. While tired (I had literally flown in from Vancouver and landed only 2 hours prior to talking) I showed some of the new features of Flash Builder 4, Catalyst etc. Rather than use the standard demo assets, I chose to build my own and was able to demo the new features (network monitor, PHP wizard, data paging, ColdFusion, SOAP wizard, BlazeDS, LiveCycle Data Services, etc.) as well as teach some newcomers about the overall architecture. All I have to say is one thing:

"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

On June 18 I spent the entire day at the Fachhochschule Brandenburg (basically a technical university) with the applied computer science advanced faculty and students. I was hosted by Professor Dr. Robert Franz, Professor Dr. Hartmut Heinrich and Professor Dr. Andreas Johannsen. My talk was on the core patterns of SaaS and SOA as well as the practical implications for software developers and architects. Through code, I demonstrated advanced micro-patterns for Web Service MEPs as well as briefly covering standard service clients like Flex4 for PHP, Web Services, REST (the real REST, not just meaning XML over HTTP) and more.

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

Yesterday I had the honor of giving a keynote speech at the Freie Universität Berlin, only one day after a similar talk at the Berlin-Branderburger Fachhochschule. It was "Berlin Semantic Web Day" at Freie Universität Berlin, June 19th, and the topic was Semantic Business Process Management (SBPM) which is the combination of Corporate Semantic Web technologies, such as rules, events and ontologies, with BPM and a service oriented infrastructure to empower the upper layers of the architecture.

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

The simplest of all clients is a simple HTML client. Adobe AIR uses the Webkit HTML engine which gives you a powerful set of capabilities including AJAX, CSS and HTML controls.



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

How To Video: Capturing Keyboard Events in Flex 3

Great write up on Web 2.0 Architecture book

My co-author Dion Hinchcliffe sent me a cool email today saying that the UK Amazon site was down to only 2 books and ours is now ranked #14 overall in the category of Web design. I then saw this great write up.

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.

The main focus of the revision seems to be around the latest Services APIs, which includes both fixes and updates. It's just been released and I hope I will have time to play around with it soon.

Anyone got a project they need built? ;-p

Learn more about the toolkit here and download the bits from our Code Share project.

Thursday, June 04, 2009

LiveCycle @ MAX bundle - new for 2009!

At this year's MAX conference, LiveCycle will be making an even bigger impact. This partially reflects the fact that LiveCycle developers are being sought in record numbers, but my personal opinion is that LiveCycle is the future of enterprise computing. Not many people are aware that Adobe is an SOA & BPM vendor, but we are. My own company was acquired in 2003 for a service registry-repository. We are not only an SOA & BPM vendor, but a mature vendor to boot. Several key analysts following this space have given Adobe LiveCycle ES some of the greatest reviews ever, but I digress.

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.

Saturday, October 3
11:00am–12:00pm Registration
12:00pm–1:00pm Lunch
1:00pm–5:00pm LiveCycle ES: Building Rich Engaging Applications preconference lab
Sunday, October 4
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

The Coolest Flex User Group Poster ever!


Mihai Corlan
sent me an email today with the Transylvania Flex User Group poster below. Very Cool!

Thursday, May 28, 2009

Flex Video Tutorial - Handling Communication Faults

A new video tutorial is now available on Adobe TV that walks developers through the process of catching basic communication faults.

Tuesday, May 26, 2009

Tour de LiveCycle Launches!

Woot - I got the email from Greg today that Tour de LiveCycle is now live! If you have not yet played around with Adobe LiveCycle ES, this is your time to do it. It is an AIR application that takes you around LiveCycle ES and shows you what it does etc.

To install, click on the badge below.

Flash Summer Camp Berlin!

Flash Summer Camp Berlin is a completely free event organised by Flex Labs, the Berlin Adobe Flex User Group. I will be presenting a two-hour hands-on code camp.

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

This show is from Dubai, United Arab Emirates. I get to interview Padster Reynolds from E-Smartz and show some code samples of LiveCycle ES access using Java. The tutorial is a bit difficult to set up but I can help out if any of you have some desire to get it running.