SlideShare a Scribd company logo
1 of 27
Download to read offline
Cloudy Ajax
Christopher Keene
Agenda

    ●   What isn’t a cloud?
    ●   What issues does cloud raise for Ajax developer?
    ●   Example: building and deploying Ajax app on EC2




2
Cloud – What Is It?

                    ●   Data center with an API
                    ●   Next generation of hosting
                    ●   Logical extension to
                        virtualization
                    ●   Way for Gartner to sell
                        more reports
                    ●   Sure fire VC fundraising
                        pitch ;-)


3
There are Clouds…

                        ●   No setup
                        ●   No up front costs
                        ●   IT as nature intended




4
And Then There Are Clouds

                      ●   Insecure
                      ●   Proprietary
                      ●   Dude, where’d my
                          data go?




5
What Isn’t A Cloud? 5 Tests

    1.   Wallet test: can you buy it with a credit card?
    2.   ATM test: do you have to talk to a person to get it?
    3.   Kick test: do you own “thing” you could trip over?
    4.   Supersize me test: can you get 10x as much of it
         whenever you want?
    5.   Roach motel test: can you take your app + data
         somewhere else whenever you want?



6
Components of the Cloud Stack

                        Cloud Application Stack
                            Cloud - Based Development     WaveMaker, Coghead
                                   Environment
                                Common Services           RightScale, Elastra
                           (provision, monitor, manage)

                               Runtime Environment        Amazon EC2

                            On-Demand Infrastructure      Amazon EC2, S3, SQS



    “We expect new vendors to offer powerful cloud-based IDEs that include
    traditional programming languages and tools for mashup development.”
                     - McKinsey & Company, “Emerging SaaS Platform Wars”, 2008


    *Source: McKinsey & Co, 2008
7
Why Cloud Matters: For Business

    ●   Sandbox: A place to experiment
    ●   Fewer restrictions
    ●   Try first, justify to IT later
    ●   Release from the data center straightjacket
    ●   Business success drives IT investment




8
Why Cloud Matters: For ISVs

    ●   Sell to business, not IT
    ●   Lower cost of sales
    ●   Easy to roll out new versions
    ●   Ability to create ecosystem around the platform
        (e.g., SalesForce AppExchange)




9
Cloud Market Opportunity

     ●   Cloud democratizes application deployment –
         don’t need a data center to deploy a web app
     ●   Platform adoption is driven by tools – need
         open source IDEs for the cloud
     ●   Enterprise adoption requires flexibility –apps
         should be deployable on site or on demand




10
Agenda

     ●   What isn’t a cloud?
     ●   What issues does cloud raise for Ajax developer?
     ●   Example: building and deploying Ajax app on EC2




11
How Does The Cloud Change Ajax?

     ●   Planning: persistent data, failover, email
     ●   Developing: tools, source code control
     ●   Staging: keeping versions/builds in sync
     ●   Deploying: can’t manage what you can’t see




12
Cloud Architecture

                                Dojo
                                             ●   Redundant load
                                                 balancer
                                             ●   Two application
                                                 servers
      Load
     Balancer
                 Load
                Balancer
                           Tomcat/Balancer   ●   Master/slave
                                                 database
       App        App
                           Tomcat/Spring
      Server     Server



      DB           DB       MySQL
     Master       Slave



13
Cloud Costs

                   ●   6 small instances
                       (EC2)
                   ●   Need persistent
                       storage too (S3)
                   ●   720 hours/month =
                       $72/server
                   ●   Also need systems
                       management


14
What Would Google Do?

     ●   Cloud apps have different architectural concerns:
         – Multi-tenant
         – Extensible
         – Self-service
         – Collaborative


                 WW                D?

15
Components of the SaaS Stack

                             SaaS Applications
                             Cloud - Based Development     WaveMaker
                                    Environment
                                 Common Services           RightScale, Elastra
                            (provision, monitor, manage)

                                Runtime Environment        Amazon EC2

                             On-Demand Infrastructure      Amazon EC2, S3, SQS



     “We expect new vendors to offer powerful cloud-based IDEs that include
     traditional programming languages and tools for mashup development.”
                      - McKinsey & Company, “Emerging SaaS Platform Wars”, 2008


     *Source: McKinsey & Co, 2008
16
Cloud Gotchas

     ●   Testing (solution: SaaS testing service like
         SOASTA)
     ●   Scaling (solution: SaaS management service like
         RightScale)
     ●   Web integration (solution: WOA using REST,
         SOAP)
     ●   Data integration (solution: VPN or SaaS
         integration platform like Boomi)
     ●   Email from “cloud” IP addresses goes to spam
         (solution: use web service email like gmail)

17
Why Cloud-Based Tools?

     ●   Easy to try: nothing to download/install
     ●   Easy to collaborate: project in the sky
     ●   Easy to deploy/scale
     ●   Easy to maintain: nothing to get lost




18
Comparing Cloud-Based Tools

                        Open                   Closed
                        Java, Python,
     ●   Language       Ruby, Javascript
                                               Proprietary

                        Spring, RoR, Django,
     ●   Architecture   Dojo, Ext, jQuery
                                               Proprietary


     ●   Hosting        On demand (EC2)
                        or on premises
                                               Proprietary

                        Open source
     ●   Licensing      (AGPL)
                                               Proprietary




19
Agenda

     ●   What isn’t a cloud?
     ●   What issues does cloud raise for Ajax developer?
     ●   Example: building and deploying Ajax app on EC2




20
Sign Up For Amazon EC2

                         ●   Use credit card
                         ●   5 minutes max
                         ●   Funky security
                             (key pairs, 508
                             certs, etc)




21
Sign Up for Rightscale (Free Version)




22
Build Ajax Application
             Open Source   Import data or
             Cloud IDE     services
Drag&Drop                                   Connect
Designer                                    widgets to
                                            data


Dojo
                                            Create WAR
Widget
                                            file based on
Palette
                                            Dojo, Spring,
                                            Hibernate




23
WaveMaker Deployment Architecture
             Runs on Cloud

                             Dojo 1.0
                             ● AJAX Widgets used to
                               assemble applications
                             JSON RPC
                             ● Messaging from browser
                               to server
                             Spring / Hibernate
                             ● Basic container and
                               data access
                             JaxWS / Acegi
                             ● Web services and security

                             Tomcat, JBoss, WLS and WAS




24
Open And Extensible

     ●   Extensible client - drop into JavaScript code
     ●   Extensible server - drop into Java code
     ●   Extensible widgets – import or write your own
     ●   RAD without the black box – extend WAR files in
         Eclipse or your favorite coding tool




25
Live Demo

     ●   Let’s Hope This Works!




26
Questions?




27

More Related Content

What's hot

OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud ComputingOSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
Mark Hinkle
 
Cloud Foundry, the Open Platform as a Service - Oscon - July 2012
Cloud Foundry, the Open Platform as a Service - Oscon - July 2012Cloud Foundry, the Open Platform as a Service - Oscon - July 2012
Cloud Foundry, the Open Platform as a Service - Oscon - July 2012
Patrick Chanezon
 

What's hot (19)

OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud ComputingOSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
OSCON 2013 - The Hitchiker’s Guide to Open Source Cloud Computing
 
OpenStack Training | OpenStack Tutorial For Beginners | OpenStack Certificati...
OpenStack Training | OpenStack Tutorial For Beginners | OpenStack Certificati...OpenStack Training | OpenStack Tutorial For Beginners | OpenStack Certificati...
OpenStack Training | OpenStack Tutorial For Beginners | OpenStack Certificati...
 
Deploying, Scaling, and Running Grails on AWS and VPC
Deploying, Scaling, and Running Grails on AWS and VPCDeploying, Scaling, and Running Grails on AWS and VPC
Deploying, Scaling, and Running Grails on AWS and VPC
 
Building Enterprise Applications on Google Cloud Platform Cloud Computing Exp...
Building Enterprise Applications on Google Cloud Platform Cloud Computing Exp...Building Enterprise Applications on Google Cloud Platform Cloud Computing Exp...
Building Enterprise Applications on Google Cloud Platform Cloud Computing Exp...
 
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
 
Cloudfoundry architecture
Cloudfoundry architectureCloudfoundry architecture
Cloudfoundry architecture
 
Google Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTEGoogle Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTE
 
AWS Webcast - Build Agile Applications in AWS Cloud for Government
AWS Webcast - Build Agile Applications in AWS Cloud for GovernmentAWS Webcast - Build Agile Applications in AWS Cloud for Government
AWS Webcast - Build Agile Applications in AWS Cloud for Government
 
Getting started vmware apps
Getting started vmware appsGetting started vmware apps
Getting started vmware apps
 
In De Wolken Met Cloud Computing
In De Wolken Met Cloud ComputingIn De Wolken Met Cloud Computing
In De Wolken Met Cloud Computing
 
AWS Webcast - Build Agile Applications in AWS Cloud for Government
AWS Webcast - Build Agile Applications in AWS Cloud for GovernmentAWS Webcast - Build Agile Applications in AWS Cloud for Government
AWS Webcast - Build Agile Applications in AWS Cloud for Government
 
Cloud for Kubernetes : Session3
Cloud for Kubernetes : Session3Cloud for Kubernetes : Session3
Cloud for Kubernetes : Session3
 
Cloud Foundry, the Open Platform as a Service - Oscon - July 2012
Cloud Foundry, the Open Platform as a Service - Oscon - July 2012Cloud Foundry, the Open Platform as a Service - Oscon - July 2012
Cloud Foundry, the Open Platform as a Service - Oscon - July 2012
 
Authorization for workloads in a dynamically scaling heterogeneous system
Authorization for workloads in a  dynamically scaling heterogeneous systemAuthorization for workloads in a  dynamically scaling heterogeneous system
Authorization for workloads in a dynamically scaling heterogeneous system
 
Cloud Camp Chicago Dec 2012 Slides
Cloud Camp Chicago Dec 2012 SlidesCloud Camp Chicago Dec 2012 Slides
Cloud Camp Chicago Dec 2012 Slides
 
Google cloud Platform
Google cloud PlatformGoogle cloud Platform
Google cloud Platform
 
OpenStack Cloud Tutorial | What is OpenStack | OpenStack Tutorial | OpenStack...
OpenStack Cloud Tutorial | What is OpenStack | OpenStack Tutorial | OpenStack...OpenStack Cloud Tutorial | What is OpenStack | OpenStack Tutorial | OpenStack...
OpenStack Cloud Tutorial | What is OpenStack | OpenStack Tutorial | OpenStack...
 
Quality control in a cloudy world
Quality control in a cloudy worldQuality control in a cloudy world
Quality control in a cloudy world
 
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack
Adam Dagnall: Advanced S3 compatible storage integration in CloudStackAdam Dagnall: Advanced S3 compatible storage integration in CloudStack
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack
 

Viewers also liked (7)

Apresentação
ApresentaçãoApresentação
Apresentação
 
Leptospirosis
LeptospirosisLeptospirosis
Leptospirosis
 
Used To & Would
Used To  &  WouldUsed To  &  Would
Used To & Would
 
Flex Air Mobile Nicholas Thomas Aja Xworld2008
Flex  Air  Mobile Nicholas Thomas Aja Xworld2008Flex  Air  Mobile Nicholas Thomas Aja Xworld2008
Flex Air Mobile Nicholas Thomas Aja Xworld2008
 
Practicas de Windows de Gonzalo Menendez
Practicas de Windows de Gonzalo MenendezPracticas de Windows de Gonzalo Menendez
Practicas de Windows de Gonzalo Menendez
 
Asteko Janaria
Asteko JanariaAsteko Janaria
Asteko Janaria
 
Bodega Con Oficinas Centrica San Salvador
Bodega Con Oficinas Centrica San SalvadorBodega Con Oficinas Centrica San Salvador
Bodega Con Oficinas Centrica San Salvador
 

Similar to Cloudy Ajax 08 10

Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
NAILBITER
 

Similar to Cloudy Ajax 08 10 (20)

Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
g Eclipse @ Eclipse Summit Europe 2008
g Eclipse @ Eclipse Summit Europe 2008g Eclipse @ Eclipse Summit Europe 2008
g Eclipse @ Eclipse Summit Europe 2008
 
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
 
Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)
Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)
Open Source Cloud Computing: Practical Solutions For Your Online Presence (PDF)
 
Java Web Programming Using Cloud Platform: Module 10
Java Web Programming Using Cloud Platform: Module 10Java Web Programming Using Cloud Platform: Module 10
Java Web Programming Using Cloud Platform: Module 10
 
V fabric overview
V fabric overviewV fabric overview
V fabric overview
 
Cloud Patterns Beuth Hochschule
Cloud Patterns Beuth HochschuleCloud Patterns Beuth Hochschule
Cloud Patterns Beuth Hochschule
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?
 
Running your Java EE 6 applications in the Cloud (FISL 12)
Running your Java EE 6 applications in the Cloud (FISL 12)Running your Java EE 6 applications in the Cloud (FISL 12)
Running your Java EE 6 applications in the Cloud (FISL 12)
 
Codecentric At Ajax World Conference San Jose
Codecentric At Ajax World Conference San JoseCodecentric At Ajax World Conference San Jose
Codecentric At Ajax World Conference San Jose
 
Spring into the Cloud - JDC2012 Cairo, Egypt
Spring into the Cloud - JDC2012 Cairo, EgyptSpring into the Cloud - JDC2012 Cairo, Egypt
Spring into the Cloud - JDC2012 Cairo, Egypt
 
NCOIC Enterprise Cloud Computing - Kevin Jackson
NCOIC Enterprise Cloud Computing - Kevin JacksonNCOIC Enterprise Cloud Computing - Kevin Jackson
NCOIC Enterprise Cloud Computing - Kevin Jackson
 
Déploiement dynamique d'applications OSGi sur le Cloud
Déploiement dynamique d'applications OSGi sur le CloudDéploiement dynamique d'applications OSGi sur le Cloud
Déploiement dynamique d'applications OSGi sur le Cloud
 
Accelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud PrivateAccelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud Private
 
IBM Think Session 8598 Domino and JavaScript Development MasterClass
IBM Think Session 8598 Domino and JavaScript Development MasterClassIBM Think Session 8598 Domino and JavaScript Development MasterClass
IBM Think Session 8598 Domino and JavaScript Development MasterClass
 
JFokus 2011 - Running your Java EE 6 apps in the Cloud
JFokus 2011 - Running your Java EE 6 apps in the CloudJFokus 2011 - Running your Java EE 6 apps in the Cloud
JFokus 2011 - Running your Java EE 6 apps in the Cloud
 
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...
 

More from rajivmordani

Web 2 0 Data Visualization With Jsf
Web 2 0 Data Visualization With JsfWeb 2 0 Data Visualization With Jsf
Web 2 0 Data Visualization With Jsf
rajivmordani
 
X Aware Ajax World V1
X Aware Ajax World V1X Aware Ajax World V1
X Aware Ajax World V1
rajivmordani
 
The Beauty Of Java Script V5a
The Beauty Of Java Script V5aThe Beauty Of Java Script V5a
The Beauty Of Java Script V5a
rajivmordani
 
Tripit Ajaxworld V5
Tripit Ajaxworld V5Tripit Ajaxworld V5
Tripit Ajaxworld V5
rajivmordani
 
Turbo Enterprise Web 2.0 Ajax World 20081
Turbo Enterprise Web 2.0 Ajax World 20081Turbo Enterprise Web 2.0 Ajax World 20081
Turbo Enterprise Web 2.0 Ajax World 20081
rajivmordani
 
Sue Googe Spice Up Ux
Sue Googe Spice Up UxSue Googe Spice Up Ux
Sue Googe Spice Up Ux
rajivmordani
 
Social Networking Intranet
Social Networking IntranetSocial Networking Intranet
Social Networking Intranet
rajivmordani
 
Practical Thin Server Architecture With Dojo Peter Svensson
Practical Thin Server Architecture With Dojo Peter SvenssonPractical Thin Server Architecture With Dojo Peter Svensson
Practical Thin Server Architecture With Dojo Peter Svensson
rajivmordani
 
Server Side Javascript
Server Side JavascriptServer Side Javascript
Server Side Javascript
rajivmordani
 
Slow Cool 20081009 Final
Slow Cool 20081009 FinalSlow Cool 20081009 Final
Slow Cool 20081009 Final
rajivmordani
 
Pushing Datatothe Browserwith Comet Ajax W
Pushing Datatothe Browserwith Comet Ajax WPushing Datatothe Browserwith Comet Ajax W
Pushing Datatothe Browserwith Comet Ajax W
rajivmordani
 
I Phone Dev Summit Prezo Guy Naor Final
I Phone Dev Summit Prezo Guy Naor FinalI Phone Dev Summit Prezo Guy Naor Final
I Phone Dev Summit Prezo Guy Naor Final
rajivmordani
 
Netapp Michael Galpin
Netapp Michael GalpinNetapp Michael Galpin
Netapp Michael Galpin
rajivmordani
 
Laird Best Practices Ajax World West2008
Laird Best Practices Ajax World West2008Laird Best Practices Ajax World West2008
Laird Best Practices Ajax World West2008
rajivmordani
 
Mike Grushin Developing Ugc Sites That Scale
Mike Grushin    Developing Ugc Sites That ScaleMike Grushin    Developing Ugc Sites That Scale
Mike Grushin Developing Ugc Sites That Scale
rajivmordani
 
Java Fx Ajaxworld Rags V1
Java Fx Ajaxworld Rags V1Java Fx Ajaxworld Rags V1
Java Fx Ajaxworld Rags V1
rajivmordani
 
Good Parts of JavaScript Douglas Crockford
Good Parts of JavaScript Douglas CrockfordGood Parts of JavaScript Douglas Crockford
Good Parts of JavaScript Douglas Crockford
rajivmordani
 

More from rajivmordani (20)

Web 2 0 Data Visualization With Jsf
Web 2 0 Data Visualization With JsfWeb 2 0 Data Visualization With Jsf
Web 2 0 Data Visualization With Jsf
 
X Aware Ajax World V1
X Aware Ajax World V1X Aware Ajax World V1
X Aware Ajax World V1
 
The Beauty Of Java Script V5a
The Beauty Of Java Script V5aThe Beauty Of Java Script V5a
The Beauty Of Java Script V5a
 
Tripit Ajaxworld V5
Tripit Ajaxworld V5Tripit Ajaxworld V5
Tripit Ajaxworld V5
 
Turbo Enterprise Web 2.0 Ajax World 20081
Turbo Enterprise Web 2.0 Ajax World 20081Turbo Enterprise Web 2.0 Ajax World 20081
Turbo Enterprise Web 2.0 Ajax World 20081
 
Sue Googe Spice Up Ux
Sue Googe Spice Up UxSue Googe Spice Up Ux
Sue Googe Spice Up Ux
 
Social Networking Intranet
Social Networking IntranetSocial Networking Intranet
Social Networking Intranet
 
Ssjs Presentation
Ssjs PresentationSsjs Presentation
Ssjs Presentation
 
Jsf Ajax
Jsf AjaxJsf Ajax
Jsf Ajax
 
Practical Thin Server Architecture With Dojo Peter Svensson
Practical Thin Server Architecture With Dojo Peter SvenssonPractical Thin Server Architecture With Dojo Peter Svensson
Practical Thin Server Architecture With Dojo Peter Svensson
 
Server Side Javascript
Server Side JavascriptServer Side Javascript
Server Side Javascript
 
Ria Enterprise
Ria EnterpriseRia Enterprise
Ria Enterprise
 
Slow Cool 20081009 Final
Slow Cool 20081009 FinalSlow Cool 20081009 Final
Slow Cool 20081009 Final
 
Pushing Datatothe Browserwith Comet Ajax W
Pushing Datatothe Browserwith Comet Ajax WPushing Datatothe Browserwith Comet Ajax W
Pushing Datatothe Browserwith Comet Ajax W
 
I Phone Dev Summit Prezo Guy Naor Final
I Phone Dev Summit Prezo Guy Naor FinalI Phone Dev Summit Prezo Guy Naor Final
I Phone Dev Summit Prezo Guy Naor Final
 
Netapp Michael Galpin
Netapp Michael GalpinNetapp Michael Galpin
Netapp Michael Galpin
 
Laird Best Practices Ajax World West2008
Laird Best Practices Ajax World West2008Laird Best Practices Ajax World West2008
Laird Best Practices Ajax World West2008
 
Mike Grushin Developing Ugc Sites That Scale
Mike Grushin    Developing Ugc Sites That ScaleMike Grushin    Developing Ugc Sites That Scale
Mike Grushin Developing Ugc Sites That Scale
 
Java Fx Ajaxworld Rags V1
Java Fx Ajaxworld Rags V1Java Fx Ajaxworld Rags V1
Java Fx Ajaxworld Rags V1
 
Good Parts of JavaScript Douglas Crockford
Good Parts of JavaScript Douglas CrockfordGood Parts of JavaScript Douglas Crockford
Good Parts of JavaScript Douglas Crockford
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Cloudy Ajax 08 10

  • 2. Agenda ● What isn’t a cloud? ● What issues does cloud raise for Ajax developer? ● Example: building and deploying Ajax app on EC2 2
  • 3. Cloud – What Is It? ● Data center with an API ● Next generation of hosting ● Logical extension to virtualization ● Way for Gartner to sell more reports ● Sure fire VC fundraising pitch ;-) 3
  • 4. There are Clouds… ● No setup ● No up front costs ● IT as nature intended 4
  • 5. And Then There Are Clouds ● Insecure ● Proprietary ● Dude, where’d my data go? 5
  • 6. What Isn’t A Cloud? 5 Tests 1. Wallet test: can you buy it with a credit card? 2. ATM test: do you have to talk to a person to get it? 3. Kick test: do you own “thing” you could trip over? 4. Supersize me test: can you get 10x as much of it whenever you want? 5. Roach motel test: can you take your app + data somewhere else whenever you want? 6
  • 7. Components of the Cloud Stack Cloud Application Stack Cloud - Based Development WaveMaker, Coghead Environment Common Services RightScale, Elastra (provision, monitor, manage) Runtime Environment Amazon EC2 On-Demand Infrastructure Amazon EC2, S3, SQS “We expect new vendors to offer powerful cloud-based IDEs that include traditional programming languages and tools for mashup development.” - McKinsey & Company, “Emerging SaaS Platform Wars”, 2008 *Source: McKinsey & Co, 2008 7
  • 8. Why Cloud Matters: For Business ● Sandbox: A place to experiment ● Fewer restrictions ● Try first, justify to IT later ● Release from the data center straightjacket ● Business success drives IT investment 8
  • 9. Why Cloud Matters: For ISVs ● Sell to business, not IT ● Lower cost of sales ● Easy to roll out new versions ● Ability to create ecosystem around the platform (e.g., SalesForce AppExchange) 9
  • 10. Cloud Market Opportunity ● Cloud democratizes application deployment – don’t need a data center to deploy a web app ● Platform adoption is driven by tools – need open source IDEs for the cloud ● Enterprise adoption requires flexibility –apps should be deployable on site or on demand 10
  • 11. Agenda ● What isn’t a cloud? ● What issues does cloud raise for Ajax developer? ● Example: building and deploying Ajax app on EC2 11
  • 12. How Does The Cloud Change Ajax? ● Planning: persistent data, failover, email ● Developing: tools, source code control ● Staging: keeping versions/builds in sync ● Deploying: can’t manage what you can’t see 12
  • 13. Cloud Architecture Dojo ● Redundant load balancer ● Two application servers Load Balancer Load Balancer Tomcat/Balancer ● Master/slave database App App Tomcat/Spring Server Server DB DB MySQL Master Slave 13
  • 14. Cloud Costs ● 6 small instances (EC2) ● Need persistent storage too (S3) ● 720 hours/month = $72/server ● Also need systems management 14
  • 15. What Would Google Do? ● Cloud apps have different architectural concerns: – Multi-tenant – Extensible – Self-service – Collaborative WW D? 15
  • 16. Components of the SaaS Stack SaaS Applications Cloud - Based Development WaveMaker Environment Common Services RightScale, Elastra (provision, monitor, manage) Runtime Environment Amazon EC2 On-Demand Infrastructure Amazon EC2, S3, SQS “We expect new vendors to offer powerful cloud-based IDEs that include traditional programming languages and tools for mashup development.” - McKinsey & Company, “Emerging SaaS Platform Wars”, 2008 *Source: McKinsey & Co, 2008 16
  • 17. Cloud Gotchas ● Testing (solution: SaaS testing service like SOASTA) ● Scaling (solution: SaaS management service like RightScale) ● Web integration (solution: WOA using REST, SOAP) ● Data integration (solution: VPN or SaaS integration platform like Boomi) ● Email from “cloud” IP addresses goes to spam (solution: use web service email like gmail) 17
  • 18. Why Cloud-Based Tools? ● Easy to try: nothing to download/install ● Easy to collaborate: project in the sky ● Easy to deploy/scale ● Easy to maintain: nothing to get lost 18
  • 19. Comparing Cloud-Based Tools Open Closed Java, Python, ● Language Ruby, Javascript Proprietary Spring, RoR, Django, ● Architecture Dojo, Ext, jQuery Proprietary ● Hosting On demand (EC2) or on premises Proprietary Open source ● Licensing (AGPL) Proprietary 19
  • 20. Agenda ● What isn’t a cloud? ● What issues does cloud raise for Ajax developer? ● Example: building and deploying Ajax app on EC2 20
  • 21. Sign Up For Amazon EC2 ● Use credit card ● 5 minutes max ● Funky security (key pairs, 508 certs, etc) 21
  • 22. Sign Up for Rightscale (Free Version) 22
  • 23. Build Ajax Application Open Source Import data or Cloud IDE services Drag&Drop Connect Designer widgets to data Dojo Create WAR Widget file based on Palette Dojo, Spring, Hibernate 23
  • 24. WaveMaker Deployment Architecture Runs on Cloud Dojo 1.0 ● AJAX Widgets used to assemble applications JSON RPC ● Messaging from browser to server Spring / Hibernate ● Basic container and data access JaxWS / Acegi ● Web services and security Tomcat, JBoss, WLS and WAS 24
  • 25. Open And Extensible ● Extensible client - drop into JavaScript code ● Extensible server - drop into Java code ● Extensible widgets – import or write your own ● RAD without the black box – extend WAR files in Eclipse or your favorite coding tool 25
  • 26. Live Demo ● Let’s Hope This Works! 26