YOUR FEEDBACK
Immo Huneke wrote: A well written article, an ingenious solution to a real problem often encountere...
Cloud Computing Conference
March 30 - April 1, New York
Register Today and SAVE !..

SYS-CON.TV

2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
TOP THREE LINKS YOU MUST CLICK ON


Adobe AIR Needs to Become a Real Desktop Platform
Adobe MAX Blog #3 Freedom to AIR

On Sunday morning, I got my two conference badges – one for Press and the other one as a Speaker.  Each of those gives an access to special receptions or meetings with Adobe big shots, and I don’t want to miss any of those.

While waiting for the doors to the AIR Lab room to open, I overheard how one of the attendees have whispered to the other, “T-Shirts are over there!”. Now I can fulfill my main mission at MAX – bring MAX T-Shirt home for kids.  Being an honest person, I explained the t-shirt girl that I have two badges and asked if I can get two t-shirts.  She scanned both of my IDs – everything’s kosher. But then, the girl realized that making such decisions requires approval, and asked the senior t-shirt distributor for an advice. The older lady said, “No, one person – one t-shirt”.

So much for being honest… My bad,  I violated the KISS principle – keep it simple stupid. I should've made two approaches to the counter.  Learn from my mistakes and don’t delegate the process of making important decisions to inexperienced people.

The rest of the business hours I spent in the Adobe AIR 1.5 class taught by Leo Shuman, an excellent instructor who managed to run this hands-on class packed with the information flawlessly. This is even more impressive given the fact that there were fifty people in the room .

AIR adds to Flex has a pretty straightforward API for working with local files and directories. There is a simple mechanism of installing and upgrading AIR applications. If you want, you can digitally sign them too.  AIR 1.5 introduces local encryption, which means that you can encrypt, say a user’s password and save it in a local storage. 

<mx:HTML> component allows you to build a Web browser in several minutes. Flex developers would love to have it too...

Programmatic monitoring of network connection is really easy. This is one of the selling points of AIR. If you are disconnected, save the data in the local database, and when connection is restored, the local data can be automatically synchronized with the remote DBMS…if you have LiveCycle Data Services.  For BlazeDS you need to develop your own solution.

The API for working with local SQLLite is easy to understand, but the result set comes back as untyped array of objects with properties corresponding to the table column names.  It would be nice to have an ability to specify a strongly typed ActionScript class corresponding to the expected result set.   
I can live with this, but AIR has some other restrictions that don’t allow it to be positioned as a full replacement to other platforms for development applications for the desktop. I see some inconsistencies in the design.

On one hand, you can write an AIR application that allows a user with the right credentials to erase files from local OS.  On the other hand, AIR doesn’t allow execution of the local code. In the previous blog I wrote that AIR won’t allow you to invoke an ActiveX required to start Microsoft Outlook.  Why?
After the class, I spoke to one of the Adobe engineers about it. He said, that the reason behind these kinds of limitation is a requirement to keep AIR a cross-platform tool.

I don’t think so.  IMO, Adobe should learn from Java, which is cross-platform, but provide JNI API to allow developers using features specific to a particular OS.

As of today, to support automatic Outlook emails with attachments, I need to write a C++ program that will invoke AIR, and then Outlook, which is not the architecture to die for.

Dear Adobe, please make AIR a  full-fledged desktop development platform. You can’t be a little pregnant.

Stay tuned.

P.S. Got a feedback from a Jim Hayes about untyped results with SQLLite:"In fact, you can do this. Set the “itemClass” property on your sqlStatement to your custom class and results are returned as instances of that class". Thank you, Jim.

About Yakov Fain
Yakov Fain is a managing principal of Farata Systems, consulting, training and product company. He has authored several Java books, dozens of technical articles. SYS-CON Books released his latest co-authored book , "Rich Internet Applications with Adobe Flex and Java: Secrets of the Masters" in Spring 2007. Sun Microsystems has nominated and awarded Yakov with the title Java Champion. He leads the Princeton Java Users Group. He is an Adobe Certified Flex Instructor. Currently Yakov works on the book for O'Reilly "Enterprise Application Development with Flex".

LATEST AJAXWORLD RIA STORIES
Vik Chaudhary, VP of Product Management & Corporate Development at Keynote Syustems, will be presenting at SYS-CON's 2nd International Cloud Computing Conference & Expo in New York City this coming March 30-April 1. Chaudhary, who is a frequent speaker at industry events on softw...
rPath and WANdisco today announced that WANdisco has selected the rPath rBuilder and rPath Lifecycle Management Platform to build and maintain its Subversion MultiSite solution as a manageable set of application images for delivery in virtualized and cloud-based environments. rPa...
Curl announced the release of Curl Data Kit Data Services (CDK-DS) for enterprise developers building new applications using Adobe Flex or Flash, as well as developers upgrading existing Curl applications. This addition to the Curl Rich Internet Application (RIA) Platform is an i...
MuleSource has announced a partnership with FastConnect that will provide Mule architecture and implementation services throughout the French market. FastConnect spans the domains of data and service integration, through to the user interface, using technologies such as SOA, dist...
Adobe and Intel plan to collaborate on porting Adobe’s Flash widgetry to Intel’s Media Processor CE 3100, a way to put Flash-enhanced web content and rich Flash applications on television. The chip is bound for cable set-top boxes, Blu-ray Disc players, digital TVs and retail...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

Click Here

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE