adobe flash platform java
TRANSCRIPT
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Adobe Flash Platform et JAVAMichaël Chaize | Flash Platform Evangelist
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Prîns eùne càyèle, pîs åssîs '�e pàrh tièrre !
2
Michaël ChaizeFlash Platform Evangelist
My blog: www.RIAgora.com
@mchaize
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Menu du jour
3
Rich Internet Application
®
Copyright 2008 Adobe Systems Incorporated. All rights reserved. 4
Evolution des applications en Entreprise
MAINFRAME
REAC
H
Local
Global
RICHText UI Integrated media GUI
CLIENT/SERVER
WEB APPLICATIONS
2004
1992
1998
RICH INTERNETAPPLICATIONS
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 5
Pourquoi est-ce que les interfaces comptent ?
ForresterAugust 7, 2009�e State Of Enterprise IT Budgets: 2009by Heidi Lo and Andrew Bartels
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 6
Rich User Experiences: Productivité des utilisateurs
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 7
Rich User Experiences: Productivité des utilisateurs
5 mins 20 secs
Augmenter la productivité & Améliorer la prise de décision
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 8
OTAN
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 9
OTAN
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 10
OTAN
From system-centric views, to user-centric applications.
Productive users Productive developers
®
Copyright 2009 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Concevoir la nouvelle génération d’applications
Productivity by design
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Adobe Flash Platform - Plateforme complète pour les interfaces riches
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Adobe Flash Platform - Plateforme complète pour les interfaces riches
97%Flash Player 10 (March 2010)
®
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Singular experience, Multiple devicesEnable consumers to engage with rich Internet experiences seamlessly across any device, anywhere.
The Open Screen Project
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 16
Technology Partners
Open Screen Project: plus de 70 partenaires
Content Partners
10.1
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential. 18
Flash Player 10.1 API et le debug sur mobiles
ADOBE AIR 2.0
En dehors du navigateurO�ine/Online sync (salesForce)Invoke OS Native ProcessesEmbarquer vos librairies JAVABientôt sur smartphones
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Adobe Flash Platform - Plateforme complète pour les interfaces riches
ADOBE FLEX 4
OLD COMPONENT MODEL
FLEX FRAMEWORK 4
GraphicsLayoutAnimationPartsStatesBehaviorLogicData
Component / Skin
SPARK COMPONENT MODEL
FLEX FRAMEWORK 4
ActionScript MXML
GraphicsLayout
AnimationParts
States
Component Skin
CSS properties
BehaviorLogicData
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Le fonctionnement
Flash Builder IDE
Flex SDK
Flex Class Library
MXML ActionScript
Compile
SOAP HTTP/S AMF/S RTMP/S
Web Server
Existing Applications & Infrastructure
J2EE Application Server
LC Data ServicesXML/HTTP
REST
SOAP Web Services
Browser
Flash Player
ADOBE FLEX 4
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Show me the code
26
Mon premier tableau de bord Flex + JAVA
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Adobe Flash Platform - Plateforme complète pour les interfaces riches
BEST RIA WORKFLOW
FLASH BUILDER 4FLASH CS5 FLASH CATALYST CS5
DESIGNERS DEVELOPERS
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Show me the code
29
From static design artwork to a RIA connected to a java backend
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Flash Platform - A complete system for web innovation
Flex + JAVA
2008 Adobe Systems Incorporated. All Rights Reserved.
Flex/JSP architecture
UI LAYER
SERVERPRESENTATION/SERVICES/DAOLAYER
DATABASE/STORAGE LAYER
catalog.jsp
Java servlet container (tomcat, WAS…)
JDBC
Web browser
JAVA classes/services
Webapp (WAR)
ProductService.java public getProducts()
WSDL
XML on HTTP(s)
AMFPublished in December 2007
!Copyright 2008 Adobe Systems Incorporated. All rights reserved.
!®
REMOTING AMF
XML vs AMF
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Java and ActionScript types
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Java and ActionScript value objects
Java VO ActionScript VO
2008 Adobe Systems Incorporated. All Rights Reserved.
Flex/Java classic architecture
UI LAYER
SERVERPRESENTATION/SERVICES/DAOLAYER
DATABASE/STORAGE LAYER
LiveCycle Data Services
Java servlet container (tomcat, WAS…)
JDBC
Web browser
JAVA classes/services
Webapp (WAR)
RPC services Messaging Data Mgt ProductService.java public getProducts()
WSDL
AMF sur HTTPs
JAVA <-> AMF
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Show me the code
38
Récupérer des objets JAVA ?
2008 Adobe Systems Incorporated. All Rights Reserved.
Publish/Subscribe Messaging
44
Message
Service
LiveCycle DS / Blaze DS
Endpoint
PublisherSubscriber
!RTMP
!AMF
!HTTP
!Client A
!Client B
!Client C
2008 Adobe Systems Incorporated. All Rights Reserved. 45
Messaging - Data Push
Message
Services
LiveCycle DS / Blaze DS
Adapter Y
Adapter X
Messaging
System Y
Messaging
System X
EndpointJMS
ProviderJMS Adapter
PublisherSubscriber
!RTMP
!AMF
!HTTP
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Show me the code
41
Un chat en 5 minutes ?
Flex et les développeurs JAVA
Flex et les développeurs JAVA
Apprendre un nouveau langage ?
RAPIDE et FUN
Développement agile?
Conserver vos outils et vos méthodes
JavaUnit and FlexUnitJavaPMD and FlexPMD
MAVEN, ANTMVC frameworks
Hudson, Sonar reportsFlexCover, FlexCPD, load tests
Flex et les développeurs JAVA
Applications critiques J2EE ?
Framework leader pour la RIA
Adobe J2EE librariesFlex et les
développeurs JAVA
Comment apprendre Flex ?
Formations en ligne gratuites
www.FLEX.org
Flex et les développeurs JAVA
Design/Deviterations
PresentationLayer
Services exposure
Business layer
®
Copyright 2009 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Cycles de développement RIA
De�nition Delivery
Long and painful development cycles.User is involved at the end of the process.�e presentation steps start a�er backend steps.60% of IT applications fail because of poor user adoption.
CLASSIC IT development cycle (system-centric apps)
Services exposure
Business layer
De�nitionDelivery
Roles: design, business layer, presentation layerFunctional and technical speci�cations from the designGuarantee user adoption
OPTIMIZED RIA development cycle (user-centric apps)
USERS
Design/Usersiterations
PresentationLayer
Design/Deviterations
USERS
Up to 50% fasterMinimize iterationsSuccessful deliveries
USERS
&
JAVA rockstar
JAVA + FLEX rockstar
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Adobe Flash Platform - Plateforme complète pour les interfaces riches
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Merci et n’hésitez pas à me contacter
51
Michaël ChaizeFlash Platform Evangelist
My blog: www.RIAgora.com
@mchaize