Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
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!
Web-Peso pesado Spring JavaEEpublic class
Web-Peso pesado Spring JavaEEpublic class
Nächste SlideShare
Wird geladen in …5
×

Web-Peso pesado Spring JavaEEpublic class Spring vs. Java EE QConSP 2012

31.987 Aufrufe

Veröffentlicht am

Web-Peso pesado Spring JavaEEpublic class EncodingPostProcessor public class UtilMB { implements BeanPostProcessor { public String reset() {public Object postProcessBeforeInitialzation FacesContext context = (Object bean, String name) FacesContext.getCurrentInstance(); throws BeansException Application application ={if(bean instanceof context.getApplication(); AnnotationMethodHandlerAdapter) { ViewHandler viewHandler = application.getViewHandler();HttpMessageConverter<?>[] convs = UIViewRoot viewRoot =((AnnotationMethodHandlerAdapter) viewHandler.createView(context,bean).getMessageConverters(); context.getViewRoot().getViewId()); context.setViewRoot(viewRoot);for (HttpMessageConverter<?> conv : convs) { return "success"; } if(conv instanceof } StringHttpMessageConverter) {((StringHttpMessageConverter) conv).setSupportedMediaTypes(Arrays.asList(new MediaType("text", "Charset.forName("UTF-)}QCONSP #3 ROUND #4

Veröffentlicht in: Technologie, Bildung

×