Lo nuevo en Spring 3.0 - Spring Live Perú 2009

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Lo nuevo en Spring 3.0 - Spring Live Perú 2009 - Presentation Transcript

    1. Lo nuevo en Spring 3.0 Spring Live Perú 2009 UNMSM – Lima, 2009 Ing. Lennon Shimokawa http://lshimokawa.net
    2. Conferencias
    3. Spring Perú
      • http://www.springperu.org/
      • http://groups.google.com/group/spring-user-group-peru
      • Spring Community Day 2009
    4. Spring 3.0 M3
    5. Reorganización
      • Un directorio de fuentes y jar por modulo
      • Ya no existe el spring.jar
      • Basado en Apache Ivy
    6. Java 5 support
      • Generics and varargs
      • BeanFactory generics
        • T getBean(String name, Class<T> requiredType)
      • TaskExecutor interface extends java.util.concurrent.Executor
    7. Test Context Framework
      • @RunWith(SpringJUnit4ClassRunner. class )
      • @ContextConfiguration
      • @Test
    8. Spring Expression Language
      • XML
        • <property name= &quot;systemProperties&quot; value= &quot;#{systemProperties}&quot; />
      • Annotation
        • @Value(value = &quot;#{systemProperties}&quot;)
        • private Map<String, String> systemProperties;
    9. JavaConfig support
      • @Configuration
      • public class JavaConfigContext {
      • @Bean
      • public FooService fooService() {
      • FooServiceImpl fooService = new FooServiceImpl();
      • return fooService;
      • }
      • }
    10. REST support
    11. REST
      • Representational State Transfer
        • Utiliza los métodos HTTP de manera explícita (POST, GET, PUT, DELETE)
        • No mantiene estado
        • Expone URIs con forma de directorios
        • Transfiere XML, JavaScript Object Notation (JSON), o ambos
    12. REST Annotations
      • @RequestMapping(value = &quot;/clientes/get/{idCliente}&quot;, method = RequestMethod. GET )
      • public ModelAndView get(@PathVariable(&quot;idCliente&quot;) String idCliente, Model model)
    13. REST Spring MVC Views
      • MarshallingView
      • AbstractAtomFeedView
      • AbstractRssFeedView
    14. Platform support
      • Requires Java 5 or above
        • Java 6 automatically detected & supported
      • Web container: Servlet 2.4 or above
        • e.g. Tomcat 5.5 & 6.0
      • Java EE level: J2EE 1.4 or above
        • e.g. WebSphere 6.1 & 7.0
      • Fully OSGi compatible out of the box
        • featured in dm Server 2.0
    15. Otras mejoras
      • JSR 303: Bean Validation
      • Portlet 2.0 support
    16. Preguntas
      • Contacto
        • http://lshimokawa.net
        • http:// twitter.com / lshimokawa

    + Lennon ShimokawaLennon Shimokawa, 6 months ago

    custom

    847 views, 1 favs, 3 embeds more stats

    Presentación para Spring Live Perú 2009, Universi more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 847
      • 754 on SlideShare
      • 93 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 21
    Most viewed embeds
    • 68 views on http://lshimokawa.net
    • 17 views on http://springperu.com
    • 8 views on http://www.springperu.com

    more

    All embeds
    • 68 views on http://lshimokawa.net
    • 17 views on http://springperu.com
    • 8 views on http://www.springperu.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories