Your SlideShare is downloading. ×
0
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Lo nuevo en Spring 3.0 - Spring Live Perú 2009
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Lo nuevo en Spring 3.0 - Spring Live Perú 2009

1,864

Published on

Presentación para Spring Live Perú 2009, Universidad Nacional Mayor de San Marcos, 16 de mayo 2009

Presentación para Spring Live Perú 2009, Universidad Nacional Mayor de San Marcos, 16 de mayo 2009

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,864
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
44
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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

×