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

Similar documents
JUGAT Adobe Technology Platform for Rich Internet Applications

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

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

Streaming Real-Time Data into Xcelsius Applications

Flex 3 Pre-release Tour

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

Flex Data Services for Component Developers

Adobe Flex Tutorial i

Adobe ColdFusion 11 Enterprise Edition

Rich Client Solutions Inc. Conference Presenter. President InfoQ.com. NFJS JavaOne OSCon EclipseCon

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

Adobe ColdFusion (2016 release)

IBM Rational Application Developer for WebSphere Software, Version 7.0

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

vsphere Web Client SDK Documentation VMware vsphere Web Client SDK VMware ESXi vcenter Server 6.5.1

Using Adobe Flex in JSR-286 Portlets

Adobe Flex. Technical white paper

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

ADOBE DIGITAL ENTERPRISE PLATFORM DOCUMENT SERVICES OVERVIEW

Oracle Developer Day

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

Introduction to ArcGIS API for Flex. Bjorn Svensson Lloyd Heberlie

Technical White Paper

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX

Tools to Develop New Linux Applications

The Future of Learning is Here

AD105 Introduction to Application Development for the IBM Workplace Managed Client

FlexJS. OmPrakash Apache Flex PMC Member Advisory Software Engineer, IBM

BLAZEDS Developer Guide

Developing Ajax Web Apps with GWT. Session I

Developing the Roadmap - Director Next Survey

Spring Web Services Tutorial With Example In

Oracle Developer Day

Distributed Multitiered Application

Case Study: Dodging the Pitfalls of Enterprise Ajax Applications

THIS IS ONLY SAMPLE RESUME - DO NOT COPY AND PASTE INTO YOUR RESUME. WE ARE NOT RESPONSIBLE Name: xxxxxx

HP LoadRunner Product Availability Matrix

Connect and Transform Your Digital Business with IBM

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

IBM JZOS Meets Web 2.0

RIA Technology Evaluation

Choudhry Nisar. Web: asifnisar.co.uk Phone no:

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

J2EE Interview Questions

Developing Applications with Java EE 6 on WebLogic Server 12c

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

MAX 2006 Beyond Boundaries

Contents. 1. JSF overview. 2. JSF example

Not just an App. Server

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here> JavaFX Overview April 2010

Foundation Flex For Developers: Data-Driven Applications With PHP, ASP.NET, ColdFusion, And LCDS By Sas Jacobs

Migrating traditional Java EE applications to mobile

Active Endpoints. ActiveVOS Platform Architecture Active Endpoints

MAX 2006 Beyond Boundaries

Qiufeng Zhu Advanced User Interface Spring 2017

Webservices In Java Tutorial For Beginners Using Netbeans Pdf

<Insert Picture Here> Java Virtual Developer Day

IBM WebSphere Application Server 8. Java EE 6 Feature Packs

Java SE7 Fundamentals

The 60-Minute Guide to Development Tools for IBM Lotus Domino, IBM WebSphere Portal, and IBM Workplace Applications

Oracle 10g: Build J2EE Applications

WebSphere Puts Business In Motion. Put People In Motion With Mobile Apps

Rich Web Applications in Server-side Java without. Plug-ins or JavaScript

The Now Platform Reference Guide

Rich Web Applications in Server-side Java without. Plug-ins or JavaScript

Hackveda Appsec Labs Java Programming Course and Internship Program Description:

Java EE 6: Develop Web Applications with JSF

JBoss Users & Developers Conference. Boston:2010

Enterprise Software Architecture & Design

Java Enterprise Edition

DESIGN AND IMPLEMENTATION OF SAGE DISPLAY CONTROLLER PROJECT

Developing Spring based WebSphere Portal application using IBM Rational Application Developer

What is it? What does it do?

Exploring Cross-platform Tools For Mobile Development: Lessons Learned. mlearning: Tips and Techniques for Development and Implementation

Using the vrealize Orchestrator Operations Client. vrealize Orchestrator 7.5

Eolas Technologies Incorporated v. Adobe Systems Incorporated et al Doc. 586 Att. 3. Exhibit L. Dockets.Justia.com

Working with the ArcGIS Viewer for Flex Application Builder

Expeditor Client for Desktop. Client Platform Overview

ArcGIS for Mobile An Introduction. Bonnie Stayer

EUCOM/AFRICOM DEFENSE USER GROUP MEETING MARCH 2010 STUTTGART WELCOME!

J2EE Application Development with WebSphere Studio

Why load test your Flex application?

Oracle ADF: The technology behind project fusion. Lynn Munsinger Principal Product Manager Application Development Tools Oracle Corporation

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

Magnolia. Content Management Suite. Slide 1

Performance evaluation of J2EE

CREATING A LIVECYCLE DATA SERVICES ES2 APPLICATION. Version 3.1

Java J Course Outline

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

Java Training Center, Noida - Java Expert Program

Apica ZebraTester. Advanced Load Testing Tool and Cloud Platform

Web Architecture AN OVERVIEW

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

ADOBE 9A Adobe(R) Flex 3 with AIR. Download Full Version :

P a g e 1. Danish Tecnological Institute. Developer Collection Online Course k Developer Collection

GRITS AJAX & GWT. Trey Roby. GRITS 5/14/09 Roby - 1

OpenECOMP SDC Developer Guide

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

Transcription:

Flex and Java James Ward http://www.jamesward.com twitter://jlward4th 2006 Adobe Systems Incorporated. All Rights Reserved. 1

Applications have evolved Easy 2004 WEB APPLICATIONS Ease of Deployment 1998 RICH INTERNET APPLICATIONS Hard MAINFRAME 1992 CLIENT/SERVER Limited Client Capabilities Full

Adobe s Software Development Platform Applications Adobe Media Player Open Bug Database: Acrobat Buzzword Connect http://bugs.adobe.com Designer/Developer Tools 60 Day Free Trial Clients Client Runtimes Adobe AIR Flash Player PDF Free for students and educators Creative Suite 4 High Performance JIT ing VM: Mozilla Tamarin Frameworks Servers/Services Ajax Adobe Flex 3 Open Source: MPL Flex Builder LiveCycle ColdFusion Use any text editor / IDE Flash Media Server Acrobat Connect Flash Cast Scene7

Adobe AIR Application Stack HTML HTML JavaScript XML CSS Flash PDF Flash Flex ActionScript XML Audio Video HTML PDF Cross-OS Application Integrated Rendering Integrated DOMs & Scripting File System Access Network Detection Notifications Application Update Drag and Drop Local Database... Adobe AIR APIs Mac, Windows, Linux & Device OS

How Flex Works Flex Builder IDE Flex SDK MXML ActionScript Flex Class Library Browser MXML and ActionScript Adobe AIR Flash Player SOAP HTTP/S AMF/S RTMP/S Compile.swf XML/HTTP REST SOAP Web Services Web Server BlazeDS or LC Data Services J2EE Application Server Existing Applications and Infrastructure

Tour de Flex - flex.org/tour

Introducing Open Source BlazeDS BlazeDS is the remoting and HTTP-based messaging technology which Adobe is contributing to the community under LGPL v3 Capabilities Easily connects Flex & AIR applications to existing server logic High performance data transfer for more responsive applications Real-time data push over standard HTTP Full pub/sub messaging that extends existing messaging infrastructure Publication of the Action Message Format (AMF3) binary data protocol specification Certified builds, warranty protection and enterprise support subscriptions available LiveCycle Data Services ES BlazeDS Data Management Data Synchronization Off-line Applications Data Paging RPC Services Web Service HTTP Service Remote Object Service Messaging Publish & Subscribe Collaboration Real Time Data Push Proxy Service Web-tier Compiler Portal Deployment Service Adapters LiveCycle SQL Hibernate ColdFusion JMS Java Custom RIA-PDF Generation

Flex with Java via XML (RESTful / SOAP) App Server Client XML (RESTful / SOAP) Web Service 8

http://www.jamesward.com/census/

Flex with Java via Remoting J2EE Server BlazeDS POJO Endpoint Spring Bean Client AMF EJB Other 10

Flex with Java via Messaging BlazeDS J2EE Server Adapter X Messaging System X Endpoint Message Service JMS Adapter JMS Provider Adapter Y Messaging System Y RTMP AMF HTTP Publisher Subscriber 11

Spring and Flex Flex moves the view and controller completely to the client The return of client/server architecture Still want to utilize our rich Java model / business layer Spring! 1

Spring and Flex! SpringSource and Adobe have formed a joint partnership to turn this idea into reality! The foundations of this new integration will be available as open source A new Spring subproject in the web portfolio: Spring BlazeDS Integration Focus on integrating the open source BlazeDS with Spring 1

M1 - Dec 2008 Bootstrap the BlazeDS MessageBroker as a Spring-managed bean (no more web.xml MessageBrokerServlet config needed) Route http-based Flex messages to the MessageBroker through the Spring DispatcherServlet Expose Spring beans for remoting using typical Spring remoting exporter configuration 1

M2 - March 2008 Spring Security integration Ensure that Spring security can secure any Springmanaged endpoints with credentials provided by the Flex app 1

post M2 Spring JMS integration Integration with the BlazeDS MessageService Use Spring configuration to manage BlazeDS MessageDestinations Let Spring manage the JMS details Allows easy communication from Flex clients to Spring message-driven POJOs Spring 3.0 REST integration Provides support for multiple client-types Flex apps can already consume Spring 3.0 RESTful endpoints through HTTPService Additional value could be realized by providing an AMFView implementation Response for HTTP requests with a Content-Type=application/actionscript 16

web.xml listener> <listener-class>org.springframework.web.context.contextloaderlistener</listener-class> /listener> servlet> <servlet-name>testdrive</servlet-name> <servlet-class>org.springframework.web.servlet.dispatcherservlet</servlet-class> <load-on-startup>1</load-on-startup>

web.xml - Security Config context-param> <param-name>contextconfiglocation</param-name> <param-value> /WEB-INF/config/web-application-config.xml /WEB-INF/config/web-application-security.xml </param-value> /context-param> filter> <filter-name>springsecurityfilterchain</filter-name>

web-application-config.xml beans xmlns="http://www.springframework.org/schema/beans" xmlns:flex="http://www.springframework.org/schema/flex" xmlns:security="http://www.springframework.org/schema/security" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/flex http://www.springframework.org/schema/flex/spring-flex-1.0.xsd

web-application-config.xml - Remoting Beans <!-- Expose the productdao bean for BlazeDS remoting --> <flex:remote-service ref="productservice" /> <!-- A secured version of productservice --> <bean id="securedproductservice" class="flex.spring.samples.product.productdao" > <flex:remote-service/> <constructor-arg ref="datasource"/> <security:intercept-methods> <security:protect method="find*" access="role_user" /> </security:intercept-methods> </bean>

Frameworks Cairngorm Mate PureMVC Clear Swiz Spring ActionScript

fluint - Flex Unit and Integration Testing Framework Multiple simultaneous asynchronous operations Asynchronous setup and teardown Asynchronous returns before method body completion Support for UIComponent testing Support for test sequences Support for testing Cairngorm commands and controllers XML output of testing results Support for externalizing tests in modules Build automation integration with Apache Ant

Flex Monkey Records and plays back Flex UI interactions UI Interactions can be edited and replayed Generates FlexUnit TestCases, and can also be used with non-flexunit-based testing frameworks Tests can be run from build systems such as Ant Handles all Flex UI events Uses Flex Automation API to provide native control over your flex app. Requires no javascript or browser plug-ins to use. Unit tests are written entirely in ActionScript. No other programming or special purpose scripting languages are needed to develop comprehensive UI test suites. Non-invasive. Requires no modifications to your application source.