®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 1
Introducción a LiveCycle Data Services
Michael Borbor Sánchez
RIA Ecuador – User Group Manager
http://www.adobeecuador.com
http://twitter.com/mab_bond
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 2
LiveCycle Data Services es un conjunto de de componentes Java EE y sus APIs se usan para:
LiveCycle Data Services ES
Crear RIAs que usen datos intensivamente, con menor codigo, con un riesgo menor, y un tiempo acelerado de salida al mercado debido a un innovativo modelo de programacion cliente-servidor.
Integrar RIAs con aplicaciones existentes, con datos de back-end existentes, e insfraestructura JEE.
Facilmente integrar RIAs con los servicios de documentos y procesos de LiveCycle.
Permite que aplicaciones colaborativas, aplicaciones AIR desconectadas y aplicaciones de transmision de datos en tiempo real con una robusta mensajera de publicar y suscribirse.
Generar documentos PDF desde aplicaciones RIAs que incluyen graficos.
LiveCycle Data Services ES
Data Management
RPC Services
Messaging
ServiceAdapters
Data Synchronization
Off-line Applications
Data Paging
Web Service
HTTP Service
Remote Object Service
Publish & Subscribe
Collaboration
Real Time Data Push
Proxy Service
Web-tier Compiler
Portal Deployment
RIA-PDF Generation
LiveCycle
SQL
Hibernate
ColdFusion
JMS
Java
Custom…
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 3
Serv
ices
Adapte
rs
Channe
ls
LiveCycle Data Services
Long Polling
NIO Streaming
RTMPNIO
Polling
PollingAMF
HTTP
MessagingProxy
NIO LongPolling
Streaming
Producer ConsumerRemote Object
Dataservice
Remoting Data Mgmt
Piggyback
Change Tracking
Data Sync
RPC
AMF
Pub/Sub
Real Time Push PDF
Security
HibernateColdFusio
nSQL
SpringWSRP
JMS Java
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 4
Flex conJava a traves deXML (RESTful / SOAP)
4
ServicioWeb
Cliente
App Server
XML
(RESTful / SOAP)
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 5
Flex con Java a traves de Remoting
5
BlazeDS / LCDS
Spring Bean
Client
JEE Server
POJO
EJB
Other
Endpoint
AMF
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 6
Ejemplo del Rendimiento de Remoting
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 7
Flex con Java a través de Messaging
7
MessageService
BlazeDS / LCDS
Adapter Y
Adapter X
MessagingSystem Y
MessagingSystem X
EndpointJMSProvider
JMS Adapter
PublicadorSuscriptor
RTMPAMFHTTP
JEE Server
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 8
Live Cycle Data Services
DataService
DAOObjectAdapter
HibernateAdapter
JDBCAdapter
Hibernate
RDBMS
CFCAdapter ColdFusion
Endpoint
Client A
Client B
Client C
JEE Server
Servicio de Data Management
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 9
Code • Controles UI ols / formatters / styles• Calculated fields• Validation Rules• Variants (conditional properties)• Localization• Security• Data Retrieval Logic (paging, lazy
loading)• Data Synchronization Logic
Desarrollo Basado en Codigo
Model • Basic Data Description
Modelo Código del lado del servidor Código del lado del Cliente
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 10
Code• Ad-hoc customization• View composition• External business/validation logic
Fiber: Desarrollo LCDS basado en el Modelo
Model • Rich data model (data and behaviors)• Calculated fields• Validation Rules• Variants (conditional properties)• Localization• Security• UI hints/defaults: controls, formatters, styles
Model includes enough information to derive data retrieval, persistence, and synchronization logic
Modelo Código del lado del servidor Código del lado del Cliente
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 11
Reliable Messaging
Entrega garantizada
LiveCycle Data Services
Update on Emily
Delete on Chris
Create Joe
Update on Adobe
Data Queue
Ack
Update on Emily
Ack
Falla deRed
ADBE 28.23
CRM 22.49
C 4.66
T 24.99
Message Queue
ADBE 28.23
Update on Emily
Ack
Pausar y resumir
Transparencia de Red
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 12
Update
Throttling
ADBE 28.23
CRM 22.49
C 4.66
Message Queue
ADBE 28.23ADBE
28.23
UpdateUpdate
LiveCycle Data Services
Red de alta velocidad
Delete
Create
Data Queue
Redlenta
Adaptive
Feed Thresholds
Rules based
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 13
APP
Edge Server
DMZ
NIO
HTTP
RTMP
Business Logic
NIO
HTTP
RTMP
ADBE 28.23
CRM 22.49
C 4.66
Message Queue
ADBE 28.23
LiveCycle Data Services
Edge Server
Update
Delete
Create
Data Queue
Message Source
FIREWALL
FIREWALL
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 14
RIA Ecuador – Adobe User Grouphttp://www.adobeecuador.com
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 15
Q & A
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 16
Top Related