pós ruy - 2 e 3 camadas - arquitetura em camadas
DESCRIPTION
Slides da aula na faculdade Ruy Barbosa do curso de Componentes Web da disciplina Componentes de Software e Aplicações Web : 2 e 3 camadas.TRANSCRIPT
![Page 1: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/1.jpg)
arquitetura
camadasem
![Page 2: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/2.jpg)
atribuir à http://cleversonsacramento.wordpress.com
para mais detalheshttp://creativecommons.org/licenses/by-nc-sa/3.0/
![Page 3: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/3.jpg)
zyc/
cleversonsacramento.
ordpress.com
![Page 4: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/4.jpg)
fonte da imagem: http://1.bp.blogspot.com
![Page 5: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/5.jpg)
http://www.howtoforge.com/speedycgi_debian_etch
![Page 6: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/6.jpg)
#!/usr/bin/perl
print "Content-type: text/html\n\n<h1>Hello World!</h1>\n";
# See if we are running under SpeedyCGI or not.
if (eval {require CGI::SpeedyCGI} && CGI::SpeedyCGI->i_am_speedy) {
print "<br>Running under speedy=", CGI::SpeedyCGI->i_am_speedy ? 'yes' : 'no', "\n";
}
cgi-bin
http://www.howtoforge.com/speedycgi_debian_etch
1993
![Page 7: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/7.jpg)
![Page 8: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/8.jpg)
1995
php
![Page 9: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/9.jpg)
html
view java
![Page 10: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/10.jpg)
viewhelper
http://java.sun.com/blueprints/corej2eepatterns/Patterns/ViewHelper.html
![Page 11: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/11.jpg)
2010 JSF2 2009 Vaadin 2006 GWT 2004 JSF1 2004 Wicket 2000 Struts 1998 JSP 1996 ASP 1995 PHP 1995 JavaScript 1993 CGI1991 HTML
![Page 12: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/12.jpg)
http
://ja
v a.s
un.c
o m/b
luep
rints
/co
r ej2
eep
att e
rns/
Pa t
tern
s /
![Page 13: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/13.jpg)
viewview
helperdata
accessobject
transferobject
![Page 14: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/14.jpg)
view
view
helper
data
accessobject
businessobject
transferobject
transferobject
![Page 15: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/15.jpg)
view
view
helper
data
accessobject
businessobject
transferobject
transferobject
BOBC
Business
ServiceRN
NegocioDAO
Persistence
Manager
Controller
View MB
ManagedBean
Action
PageBeanPB
EAO
DTO
VOValueObject
Type
Entity
![Page 16: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/16.jpg)
apresentaçãocamada de
presentationtier
![Page 17: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/17.jpg)
periférica
trasformaburra
expõevalida
facilita
comunica
![Page 18: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/18.jpg)
webservices
ajax
RESTfulservices
pdf rss
atom
servlet
jsf
xls
struts
jsphtml
css
imagem
webservices
![Page 19: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/19.jpg)
negócio
camada de
businesstier
![Page 20: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/20.jpg)
inteligênciavalida
garantenegóciodomínio
núcleo
![Page 21: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/21.jpg)
pojoplain oldjava
object
![Page 22: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/22.jpg)
persistênciacamada de
tierintegration
![Page 23: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/23.jpg)
integraçãopersiste armazena
consultavalida
burra
transforma
periférica
![Page 24: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/24.jpg)
hibernatejpa
jdoibatis
eclipselink
toplink
sqlxml
webservice
clientarquivo
![Page 25: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/25.jpg)
transferobjects
![Page 26: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/26.jpg)
transportatransmite estruturado
recipienteburro
atravessa
![Page 27: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/27.jpg)
pojojavabean
![Page 28: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/28.jpg)
Apresen.
Serviço exposto
Apresen.
JSFHTMLCSSPDF
Java ScriptView Helper
Negócio
Regra de NegócioNúcleo
Livre de tecnologia
Persist.Client
Consumidor
Persist.DAO
JPAHibernateEJB-QL
SQL
visãogeral
![Page 29: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/29.jpg)
(
![Page 30: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/30.jpg)
mitos
![Page 31: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/31.jpg)
MVC
arquiteturaem
camadas
![Page 32: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/32.jpg)
Model
View
controller
![Page 33: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/33.jpg)
viewview
helper data
accessobject
businessobject
transferobject
MV C
![Page 34: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/34.jpg)
arquitetura cebola
![Page 35: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/35.jpg)
?crud
![Page 36: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/36.jpg)
create
retrieve
update
delete
![Page 37: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/37.jpg)
)
![Page 38: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/38.jpg)
queminvoca
quem?
![Page 39: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/39.jpg)
negócio
apresentação
persistência
![Page 40: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/40.jpg)
negócio
apresentação
persistência
![Page 41: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/41.jpg)
fonte da imagem: http://1.bp.blogspot.com
![Page 42: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/42.jpg)
módulocomponente
camada
![Page 43: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/43.jpg)
![Page 44: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/44.jpg)
![Page 45: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/45.jpg)
![Page 46: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/46.jpg)
![Page 47: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/47.jpg)
componentesx módulos + y camadas
![Page 48: Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas](https://reader031.vdocuments.pub/reader031/viewer/2022013107/54844686b47959d30c8b4b71/html5/thumbnails/48.jpg)
X