Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
LIGHTWEIGHTWEB APP CHAMPIONSHIP
QCONSP #3Duelo de titãs                 SPRING vs                 JAVA EE
QCONSP #3   JUÍZES
QCONSP #3   THE CHALLENGER
JAVA EE  PLATFORM  • lutador experiente  • mudou a tática no Java EE 5  • ganhou confiança: CDI  • perdeu peso para ser ági...
QCONSP #3   THE CHAMPION
THE SPRING  FRAMEWORK  • sem derrota desde 2004  • nocauteou o J2EE  • luta em qualquer container  • golpes fortes com POJ...
QCONSP #3   FIGHT CARD
“Spring always depended on Java EE.”                Bill BurkeQCONSP #3                    FIGHT CARD
Princípio UFC                (princípio hollywood)       “Don’t fight us, we fight you!”QCONSP #3                         ...
CDIQCONSP #3         ROUND #1
"Spring does, truly, embody many of        the best practices of 2004."                 Gavin KingQCONSP #3               ...
IoC / DIQCONSP #3              ROUND #1
IoC / DI           Spring                              JavaEE@Controller                       @Named@Scope(“request”)    ...
PersistênciaQCONSP #3                  ROUND #2
Persistência            Spring                              JavaEE@Repository                        @Statelesspublic clas...
PersistênciaQCONSP #3                  ROUND #2
Persistência@Repository               Spring                 @Stateless                                                   ...
PersistênciaQCONSP #3                  ROUND #2
Persistência             Spring DataQCONSP #3                  ROUND #2
Transação e ExceçãoQCONSP #3               ROUND #3
Transação e Exceção            Spring                               JavaEE@Transactional(...)                @TransactionA...
Transação e ExceçãoQCONSP #3               ROUND #3
Transação e Exceção             Spring                                   JavaEE@Transaction(rollbackFor=              @App...
QCONSP #3   ROUND #4
Web-Peso leveQCONSP #3                   ROUND #4
Web-Peso leve@Controller                    Spring                        @Named                                          ...
Web-Peso pesadoQCONSP #3                 ROUND #4
Web-Peso pesado                 Spring                                              JavaEEpublic class EncodingPostProcess...
Web    Action-based vs. Component-basedQCONSP #3                      ROUND #4
Web-Service - SOAPQCONSP #3               ROUND #5
Web-Service - SOAP               Spring                                                JavaEE@WebService                  ...
Web-Service - RESTQCONSP #3               ROUND #5
Web-Service - REST@Controller                 Spring                           @Path("/")                                 ...
MensageriaQCONSP #3                ROUND #6
Mensageria                       JavaEE - JMS InitialContext ic = new InitialContext(); ConnectionFactory cf = (Connection...
Mensageria                       JavaEE - JMS InitialContext ic = new InitialContext(); ConnectionFactory cf = (Connection...
Mensageria                   Spring - JMSTemplate @Autowired JmsTemplate template; @Autowired Queue queue; public void env...
Mensageria                   Spring - JMSTemplate @Autowired JmsTemplate template; @Autowired Queue queue; public void env...
MensageriaQCONSP #3                ROUND #6
Mensageria            Spring IntegrationQCONSP #3                        ROUND #6
SegurançaQCONSP #3               ROUND #7
Segurança                                    JavaEE - JAAS<security-constraint>                          @RolesAllowed({"c...
Segurança                                    JavaEE - JAAS<security-constraint>                          @RolesAllowed({"c...
SegurançaQCONSP #3               ROUND #7
Segurança                                Spring Security<sec:authentication-manager>                   @Secured({"cliente"...
Infra-SpringQCONSP #3                  ROUND #8
Infra-SpringQCONSP #3                  ROUND #8
QCONSP #3   ROUND #8
Infra-JavaEEQCONSP #3                  ROUND #8
Infra-JavaEEQCONSP #3                  ROUND #8
Infra-CloudQCONSP #3                 ROUND #8
Extras      “We will create new projects     where no good solution exists.”             SpringSourceQCONSP #3            ...
ExtrasQCONSP #3            ROUND #9
ExtrasQCONSP #3            ROUND #9
ExtrasQCONSP #3            ROUND #9
Especifição                  vs            ImplementaçãoQCONSP #3               ROUND #10
Especifição                  vs            ImplementaçãoQCONSP #3               ROUND #10
Especifição                  vs            ImplementaçãoQCONSP #3               ROUND #10
Especifição                  vs            Implementação     “Standards are for standardizing,           and not innovatin...
Especifição                  vs            ImplementaçãoQCONSP #3               ROUND #10
Especifição                  vs            Implementação    "Stick to the standard when you can,    leave the standards wh...
QCONSP #3   SCORE
QCONSP #3   SCORE
QCONSP #3   SCORE
QCONSP #3   OBRIGADO!
PERGUNTAS?QCONSP #3       OBRIGADO!
Segurança JavaEE - JAAS<security-constraint> @RolesAllowed({"cliente"})
Segurança JavaEE - JAAS<security-constraint> @RolesAllowed({"cliente"})
Upcoming SlideShare
Loading in …5
×

Segurança JavaEE - JAAS<security-constraint> @RolesAllowed({"cliente"}) Spring vs. Java EE QConSP 2012

31,622 views

Published on

Segurança JavaEE - JAAS<security-constraint> @RolesAllowed({"cliente"}) <web-resource-collection> public void salva(Contato contato){ <url-pattern>/adiciona.jsf</url-pattern> //... </web-resource-collection> } <auth-constraint> <role-name>*</role-name> @PermitAll, @DenyAll ... </auth-constraint></security-constraint><login-config> <auth-method>FORM</auth-method>v <form-login-config> <form-login-page>/login.jsf </form-login-page> </form-login-config></login-config><security-role> <role-name>*</role-name></security-role>QCONSP #3 ROUND #7

Published in: Technology, Education

×