Flex Data Services for Component Developers

Similar documents
Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Flex and Java. James Ward. twitter://jlward4th Adobe Systems Incorporated. All Rights Reserved.

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Streaming Real-Time Data into Xcelsius Applications

Java Enterprise Edition

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

Mischa Kölliker. JavaLounge Zürich, 23. Juni 2009

COPYRIGHTED MATERIAL. Part I: Getting Started. Chapter 1: Introducing Flex 2.0. Chapter 2: Introducing Flex Builder 2.0. Chapter 3: Flex 2.

Distributed Multitiered Application

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics

Java J Course Outline

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Spring BlazeDS Integration. Jeremy Grelle SpringSource, a Division of VMware

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/-

Developing Applications with Java EE 6 on WebLogic Server 12c

ive JAVA EE C u r r i c u l u m

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Fast Track to EJB 3.0 and the JPA Using JBoss

EJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java

Java EE Patterns 176

Data Management in Application Servers. Dean Jacobs BEA Systems

Adobe ColdFusion (2016 release)

MAX 2006 Beyond Boundaries

Specialized - Mastering JEE 7 Web Application Development

Oracle Fusion Middleware 11g: Build Applications with ADF I

Introduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve

JUGAT Adobe Technology Platform for Rich Internet Applications

Fast Track to Java EE

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets

JUGAT Flex 3. Christoph Atteneder. May Flash / Flex Development Technical Lead Adobe Systems Incorporated. All Rights Reserved.

Course Content for Java J2EE

Tools to Develop New Linux Applications

Specialized - Mastering Spring 4.2

Exam : 9A Title : Adobe Flex 2 Developer Exam. Version : DEMO

Oracle 10g: Build J2EE Applications

NetBeans IDE Field Guide

Adobe Flex. Technical white paper

CORE JAVA 1. INTRODUCATION

Web Application Development Using Spring, Hibernate and JPA

1Z Oracle. Java Platform Enterprise Edition 6 Web Services Developer Certified Expert

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

Migrating traditional Java EE applications to mobile

Using Adobe Flex in JSR-286 Portlets

Fast Track to Java EE 5 with Servlets, JSP & JDBC

Leverage Rational Application Developer v8 to develop Java EE6 application and test with WebSphere Application Server v8

Oracle Fusion Middleware 11g: Build Applications with ADF I

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.

Introduction to JSP and Servlets Training 5-days

Chapter 6 Enterprise Java Beans

Java EE 7: Back-End Server Application Development

/ / JAVA TRAINING

ADOBE DIGITAL ENTERPRISE PLATFORM DOCUMENT SERVICES OVERVIEW

Agent-Enabling Transformation of E-Commerce Portals with Web Services

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

Vendor: SUN. Exam Code: Exam Name: SUN Certified ENITRPRISE ARCHITECT FOR J2EE(tm)TECHNOLOGY. Version: Demo

MAX 2006 Beyond Boundaries

Web Application Development Using Spring, Hibernate and JPA

This course is intended for Java programmers who wish to write programs using many of the advanced Java features.

Service-Oriented Architecture (SOA)

CMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition

Call: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline

OSGi on the Server. Martin Lippert (it-agile GmbH)

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies

Oracle Developer Day

Java SE7 Fundamentals

Oracle Developer Day

SUN. Java Platform Enterprise Edition 6 Web Services Developer Certified Professional

Page 1

Oracle Developer Day

Web Application Development Using Spring, Hibernate and JPA

CO Java EE 7: Back-End Server Application Development

Java EE 7 is ready What to do next? Peter Doschkinow Senior Java Architect

~ Ian Hunneybell: CBSD Revision Notes (07/06/2006) ~

Seam 3. Pete Muir JBoss, a Division of Red Hat

JAVA SYLLABUS FOR 6 MONTHS

SUN Sun Certified Enterprise Architect for J2EE 5. Download Full Version :

Integrated Architecture for Web Application Development Based on Spring Framework and Activiti Engine

IBM Advanced Rational Application Developer v7. Download Full Version :

Advanced Java Programming

Application Servers in E-Commerce Applications

Java Training Center, Noida - Java Expert Program

Architect Exam Guide. OCM EE 6 Enterprise. (Exams IZO-807,1ZO-865 & IZO-866) Oracle Press ORACLG. Paul R* Allen and Joseph J.

Contents at a Glance

J2EE Interview Questions

3C05 - Advanced Software Engineering Thursday, April 29, 2004

COURSE 9 DESIGN PATTERNS

Flex 3 Pre-release Tour

Building Mashups Using the ArcGIS APIs for FLEX and JavaScript. Shannon Brown Lee Bock

<Insert Picture Here> Productive JavaEE 5.0 Development

index_ qxd 7/18/02 11:48 AM Page 259 Index

ADVANCED JAVA TRAINING IN BANGALORE

Adobe ColdFusion 11 Enterprise Edition

HttpServlet ( Class ) -- we will extend this class to handle GET / PUT HTTP requests

ADVANCED JAVA COURSE CURRICULUM

Oracle9iAS Tech nicaloverview

JVA-163. Enterprise JavaBeans

Transcription:

Flex Data Services for Component Developers Jeff Vroom Adobe Systems 1

Flex Data Services in Flex 2 Flex Data Services (Client library) FlexBuilder (Eclipse based IDE) Flex Framework Flash 9 / AVM+ Channels HTTP RTMP Flex Data Services (Servlets and server library) Java/J2EE (Application server cluster) 2

Flex Client/Server Without Flex Data Services Supports clients with HTTP (using Soap, or XML) Requires no custom server code for writing Flex clients Not optimal for tight client/server coupling Coding and runtime overhead for XML formatting and parsing Server is unable to push messages to the client Not able to directly compile mxml files to swf from browser 3

Flex Data Services 2.0 Goals Attract J2EE programmers to Flex development Replace HTML centric technology (JSP, Struts, JSF, ) Work with backend technology (Hibernate, EJB, Spring, ) Make distributed Flex programming efficient Minimize glue code in the development process Provide high level apis for rapid development Binary protocols for runtime and development efficiency Extend J2EE to include server push Flash/Flex supports RTMP for real time server push to clients Make it easy for J2EE programmers to adopt RTMP Scalable and reliable 4

Three Main Components Remote procedure call ActionScript calls Java using binary AMF protocol Publish/subscribe messaging General bi-directional async messaging for Flex -> J2EE Extend J2EE s messaging (JMS) to Flex clients Clients use RTMP or HTTP transparently (HTTP uses polling for pushed messages) Data Management Services declarative persistence programming for RIAs Synchronizes client object model with server object model Detect client changes, send to server, push to other clients Conflict detection and resolution Paging and lazy-loading of referenced objects for incremental loading of data 5

Advanced Concepts - Remote Object Scope and attribute-id for managing components Scope: request, session, application control lifecycle of your remote object Attribute-id: stores component under this name in ServletContext or HttpSession to share with JSP or other destinations FlexFactory interface Java interface you implement to lookup a component for remote object or FDMS assembler Example configuration: FlexSession <destination name= SpringComponent > <properties> <factory>spring</factory> <source>myspringcomponentid</source> </properties> </destination> Retrieved from FlexContext Uses HTTP session if you are on HTTP, emulates most of the HttpSession functionality for RTMP [Transient] metadata Annotation for AS property, do not serialize to server 6

Advanced Concepts Messaging Subtopics Allows you to create dynamic groups of consumers Supported by the AS messaging adapter Must be enabled explicitly for a destination (<allow-subtopics>true</allow-subtopics>) Product and Consumer expose a subtopic property Send messages to Flex Clients from Java code Use JMS no Java code needed Use Messaging API (see dashboard/feed.java for an example) Custom messaging adapter Override invoke (message sent from client) Override allowsubscribe, allowsend: specific authorization hooks for subtopics Can also handle subscription messages and override routing logic Methods to push messages to clients by destination, or by client id and also to route messages to other servers in the cluster 7

Advanced Concepts - Data Management Services Paging Query results pulled down from client a page at a time as requested Managed associations Supports replicating general object graphs from server to client (with cycles) Tracks changes to relationships and pushes them to the server Ensures a single instance of the client object for each id Optionally associations can be lazy referenced item is fetched as needed Writing assemblers Implement these methods: getitem, createitem, updateitem, deleteitem, fill, count Source to HibernateAssembler is included 8