17

Click here to load reader

Google AppEngine and JEE

Embed Size (px)

DESCRIPTION

Some architecture

Citation preview

Page 1: Google AppEngine and JEE

Globalcode – Open4education

Arquitetura JavaJEE no AppEngine

Rafael Nunes e Eder Magalhãeswww.yaw.com.br

Page 2: Google AppEngine and JEE

Globalcode – Open4education

Agenda

Introdução

Histórico

Frameworks Web Java

Server-Side ou Client-Side

Serviços AppEngine

Exemplos

Page 3: Google AppEngine and JEE

Globalcode – Open4education

Introdução

O que é AppEngine?

Page 4: Google AppEngine and JEE

Globalcode – Open4education

Histórico

Um ano após Python

Versão 1.5.0(Dez/2010) igualou versões

2011 – sair do Preview

Page 5: Google AppEngine and JEE

Globalcode – Open4education

Histórico

Mudança no modelo de cobrança

Cobrança por instância

Multhi-Thread #FTW

Page 6: Google AppEngine and JEE

Globalcode – Open4education

Frameworks Web

JSF 1.2 e JSF 2.0(hacks)

Struts2(hacks)

Page 7: Google AppEngine and JEE

Globalcode – Open4education

Frameworks Web

Degradam o cold-start

Ciclo de vida pesado

Alto consumo de memória

Page 8: Google AppEngine and JEE

Globalcode – Open4education

Server x Client

Cloud Computing != duendes numa nuvem cuidando dos servidores

Mudança de arquitetura, paradigmas, etc

Page 9: Google AppEngine and JEE

Globalcode – Open4education

Client Side

GWT

EXTJS

Jquery

SpringMVC+REST+Stateless no lado do servidor

Page 10: Google AppEngine and JEE

Globalcode – Open4education

Vantagens

Otimização de recursos

Otimização de gastos

Processamento pro lado do cliente

Servidor Stateless e Multithread

Page 11: Google AppEngine and JEE

Globalcode – Open4education

Persistência

JPA

Modelo relacional x Modelo Não relacional

Acesso direto

Page 12: Google AppEngine and JEE

Globalcode – Open4education

Persistência

Objectify

Não tenta simular ORM

API de acesso bem próximo do Datastore

Único que se aproveita da API assíncrona

Page 13: Google AppEngine and JEE

Globalcode – Open4education

Serviços

JSRs(Cache = Jcache,Mail = Javamail,HTTP = java.net.URL)

Não reinventar a roda

Page 14: Google AppEngine and JEE

Globalcode – Open4education

Exemplo

ExtJS e SpringMVC/REST

Page 15: Google AppEngine and JEE

Globalcode – Open4education

Exemplo

Spring Roo + GWT

Page 16: Google AppEngine and JEE

Globalcode – Open4education

Dúvidas

¿

Page 17: Google AppEngine and JEE

Globalcode – Open4education

Obrigado!

[email protected]

[email protected]

www.yaw.com.br

(www.yaw.com.br/open)

twitter.com/rafanunes

twitter.com/edermag

twitter.com/youandwe