arquiteturaem
   camadas
atribuir à http://cleversonsacramento.wordpress.com




para mais detalhes
http://creativecommons.org/licenses/ by-nc-sa/3.0/
/ zyc
cleversonsacramento
.



                       ordpress.co
                       m
fonte da imagem: http://1.bp.blogspot.com
http://www.howtoforge.com/speedycgi_debian_etch
http://www.howtoforge.com/speedycgi_debian_etch




                                                          1993
#!/usr/bin/perl

print "Content-type: text/htmlnn<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
1995




php
html
view   java
view
helper
 http://java.sun.com/blueprints/corej2eepatterns/Patterns/ViewHelper.html
2010   JSF2
                              2009 Vaadin
                           2006 GWT
                        2004 JSF1
                     2004 Wicket
                  2000 Struts
               1998 JSP
            1996 ASP
         1995 PHP
      1995 JavaScript
   1993 CGI
1991 HTML
http://java.sun.com/blueprints/   corej2eepatterns/Patterns/
view               data
view   helper access
                          object
               transfer
                 object
view
                                        data
 view        business            access
                   object
helper                                 object
        transfer            transfer
          object             object
view                         RN
                                   Service

                                    BC
                                             Business
                                                        EAO
                                                           Manager
                                                                   Persistence
                                                                               DAO
                             BO       Negocio                    data
     view                   business                    access
                                   object
helper        Action
                                                           object
 Controller

View MB                transfer                   transfer DTO
                         object                    object VO Type
       PageBean
PB                                                               ValueObject
                                                        Entity
     ManagedBean
camada de
apresentação
  presentation
            tier
periférica   expõe
 trasforma valida  comunica

    facilita   burra
imagem        struts

        atom         RESTful
  css                      services
          servlet
                     rss
pdf            html
                                jsf
ajax     jsp
               xls   web
                      services
business
                 tier




camada de
negócio
núcleo
negócio      garante
    inteligência
           domínio
  valida
pojo
plain
 java
        old

   object
camada de
persistência
            integration
              tier
transforma valida   consulta
     integração
  persiste
                armazena
                    burra
  periférica
jpa          toplink
                             e-mail
             hibernate
ibatis                jdo
  eclipselink
xml      arquivo
                    sql      web
                              service
                              client
transfer
    objects
atravessa
  burro   recipiente
  transporta
transmite estruturado
javabean
  pojo
visão
 geral
                                                Persist.
        Apresen.                                  DAO
             JSF
            HTML                                   JPA
                                                Hibernate
            CSS
            PDF
                            Negócio              EJB-QL
         Java Script                              SQL
         View Helper      Regra de Negócio
                                Núcleo
                          Livre de tecnologia


                                                Persist.
                                                 Client
        Apresen.
                                                Consumidor
        Serviço exposto
(
mitos
MVC

      arquitetura
  camadas
                em
Model
View
       c   ontroller
V      C        M
              business
       view    object
view helper     data
              access
               object
                transfer
                  object
quitetura cebol
    r
a




                   a
?
crud
create
   retrieve
        update
            delete
)
quem
  invoca
 quem?
apresentação




    negócio




persistência
apresentação




    negócio




persistência
fonte da imagem: http://1.bp.blogspot.com
camada
módulo
  componente
componentes
x módulos + y camadas
X

Pós Ruy - 2 e 3 Camadas - Arquitetura em camadas