building gwt clients for cloud apps.pptx

16
Building Fat browser- agnostic GWT Clients for Cloud Distributed systems (Java+.NET) Igor Moochnick IgorShare Consulting [email protected] Blog: www.igorshare.com/blog

Upload: igor-moochnick

Post on 30-Jun-2015

1.249 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Building Gwt Clients For Cloud Apps.Pptx

Building Fat browser-agnostic

GWT Clientsfor Cloud Distributedsystems (Java+.NET)

Igor MoochnickIgorShare [email protected]

Blog: www.igorshare.com/blog

Page 2: Building Gwt Clients For Cloud Apps.Pptx

You are at the right place and time!

Page 3: Building Gwt Clients For Cloud Apps.Pptx

Create new GWT project

Page 4: Building Gwt Clients For Cloud Apps.Pptx

Compose UI from available components

final Button sendButton = new Button("Send");

// Add a handler to send the search criteria to the server   

sendButton.addClickHandler(new ClickHandler() {   

    /**  

     * Fired when the user clicks on the sendButton.  

     */  

    public void onClick(ClickEvent event) {   

        sendNameToServer();   

    }   

Create client logic and UI

Page 5: Building Gwt Clients For Cloud Apps.Pptx

3 main partsContract interfaceClient-side asynchronous proxyServer-side implementation

Create remote service

Page 6: Building Gwt Clients For Cloud Apps.Pptx

Deploy to Google AppEngine

http://igorsharecontactmgrdemo.appspot.com

Page 7: Building Gwt Clients For Cloud Apps.Pptx

REST via WCF

Page 8: Building Gwt Clients For Cloud Apps.Pptx

Deploy to the Staging Environment

Page 9: Building Gwt Clients For Cloud Apps.Pptx

Promote to the Production

Page 10: Building Gwt Clients For Cloud Apps.Pptx

GWT Client: from GWT-RPC to REST

Page 11: Building Gwt Clients For Cloud Apps.Pptx

Compile

MergeDeploy

Merge GWT client and Azure Service

Page 12: Building Gwt Clients For Cloud Apps.Pptx

JerseyRestletRESTEasyApache CXFSpring v3 (somewhat)

REST via JAX-RS (Java)

Page 13: Building Gwt Clients For Cloud Apps.Pptx

Rightscale can help you manage AWS

Page 14: Building Gwt Clients For Cloud Apps.Pptx

Q&A

Page 15: Building Gwt Clients For Cloud Apps.Pptx

Thank you!

Page 16: Building Gwt Clients For Cloud Apps.Pptx

Building Fat browser-agnostic

GWT Clientsfor Cloud Distributedsystems (Java+.NET)

Igor MoochnickIgorShare [email protected]

Blog: www.igorshare.com/blog