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.
Lo nuevo en Spring 3.0 Spring Live Perú 2009 UNMSM – Lima, 2009 Ing. Lennon Shimokawa http://lshimokawa.net
Conferencias
Spring Perú <ul><li>http://www.springperu.org/ </li></ul><ul><li>http://groups.google.com/group/spring-user-group-peru </l...
Spring 3.0 M3
Reorganización <ul><li>Un directorio de fuentes y jar por modulo </li></ul><ul><li>Ya no existe el spring.jar </li></ul><u...
Java 5 support <ul><li>Generics and varargs </li></ul><ul><li>BeanFactory generics </li></ul><ul><ul><li>T getBean(String ...
Test Context Framework <ul><li>@RunWith(SpringJUnit4ClassRunner. class ) </li></ul><ul><li>@ContextConfiguration </li></ul...
Spring Expression Language <ul><li>XML </li></ul><ul><ul><li><property name= &quot;systemProperties&quot;  value= &quot;#{...
JavaConfig support <ul><li>@Configuration </li></ul><ul><li>public   class  JavaConfigContext { </li></ul><ul><li>@Bean </...
REST support
REST <ul><li>Representational State Transfer </li></ul><ul><ul><li>Utiliza los métodos HTTP de manera explícita (POST, GET...
REST Annotations <ul><li>@RequestMapping(value = &quot;/clientes/get/{idCliente}&quot;, method = RequestMethod. GET ) </li...
REST Spring MVC Views <ul><li>MarshallingView </li></ul><ul><li>AbstractAtomFeedView </li></ul><ul><li>AbstractRssFeedView...
Platform support <ul><li>Requires Java 5 or above </li></ul><ul><ul><li>Java 6 automatically detected & supported </li></u...
Otras mejoras <ul><li>JSR 303: Bean Validation </li></ul><ul><li>Portlet 2.0 support </li></ul>
Preguntas <ul><li>Contacto </li></ul><ul><ul><li>http://lshimokawa.net </li></ul></ul><ul><ul><li>http:// twitter.com / ls...
Upcoming SlideShare
Loading in …5
×

Lo nuevo en Spring 3.0 - Spring Live Perú 2009

1,952 views

Published on

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

Published in: Technology
  • Be the first to comment

Lo nuevo en Spring 3.0 - Spring Live Perú 2009

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

×