Spring Mvc,Java, Spring

6,691 views

Published on

Spring MVC and spring as full stack framework presentation

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

No Downloads
Views
Total views
6,691
On SlideShare
0
From Embeds
0
Number of Embeds
82
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Spring Mvc,Java, Spring

  1. 1. Spring MVC Ifnu Bima Artivisi ifnu.artivisi.com [email_address]
  2. 2. Spring Framework Spring is a non-invasive application development framework that aims to make the life easier for Java/J2EE developers, by <ul><li>Providing a DI (or IoC) container.
  3. 3. Providing an AOP framework that delivers services such as declarative transaction management.
  4. 4. Providing abstraction for more complicated (J2EE) services and APIs, which removes lot of ”boilerplate code”.
  5. 5. DI + AOP + Service Abstraction = Power to the POJO </li></ul>
  6. 6. Modules Of The Spring Framework Spring AOP AOP infrastructure Metadata support Declarative transaction management Spring Core IoC Container Spring ORM Hibernate support iBatis support JDO support Spring Web WebApplicationContext Struts integration Tiles integration Web utilities Spring DAO Transaction Infrastructure JDBC support DAO support Spring Context and Integration ApplicationContext JNDI, EJB, JMS,Email, Remoting, WebService Spring MVC Web MVC Framework JSP support Velocity/FreeMarker support PFD/Excel support
  7. 7. <ul><li>Spring’s own implementation of Web MVC (Model2)
  8. 8. Integrates nicely with the middle-tier via DI
  9. 9. Annotation Configuration significantly reduce XML configuration
  10. 10. The components of the web framework is loosely coupled
  11. 11. Supports several view technologies </li><ul><li>JSP/Tiles, Velocity, FreeMarker </li></ul><li>Full control on HTTP low level aspect, </li><ul><li>e.g. HTTP Response Header, Pragma Cache, Content Type, etc </li></ul><li>Support all HTTP Method </li><ul><li>GET, POST, PUT,DELETE, HEAD, OPTIONS, TRACE </li></ul></ul>Spring MVC At A Glance Spring MVC At A Glance Spring MVC At A Glance
  12. 12. Spring MVC At A Glance <ul><li>Great documentation
  13. 13. Spring Web Flow for conversational flow processing
  14. 14. Powerful security support with Spring Security : </li><ul><li>LDAP Authentication, X509, Role Based Authorization,
  15. 15. Domain Object Access Control List, etc </li></ul><li>Highly configurable URL : </li><ul><li>http://localhost/mystore/product/list
  16. 16. Even we can do : http://localhost/mystore/productlist.php </li></ul><li>Portlet MVC Framework </li><ul><li>Out of the box portlet developement to integrate with portlet container such as liferay </li></ul></ul>
  17. 17. Spring MVC At A Glance <ul><li>REST support coming up (Spring 3.0 currently Milestone 2) </li><ul><li>Pretty url, for example : http://localhost/mystore/product/list/id/2 Instead of http://localhost/mystore/product/list?id=2 </li></ul><li>Easy integration with javascript and Ajax library </li><ul><li>jQuery, Prototype, Dojo </li></ul><li>Commonly used as backend data provider for Rich Client Frameworks </li><ul><li>GWT, Flex, OpenLaszlo </li></ul></ul>
  18. 18. Spring Integration Spring framework is not just about database and web. Spring also support a lot of integration channel through different technology such as: <ul><li>Spring WebService
  19. 19. Remoting using RMI,Hessian or Burlap
  20. 20. Enterprise java beans (EJB) support
  21. 21. Java Messaging Service
  22. 22. Email
  23. 23. Scheduling </li></ul>
  24. 24. Whats new around spring? <ul><li>OSGi is modular architecture where you simply put additional jar to your application, and all part of application recognice it as new application module, just as easy as plugin system.
  25. 25. SpringSource dm server </li><ul><li>completely module-based Java application server that is designed to run enterprise Java applications and Spring-powered applications with a high degree of flexibility and reliability </li></ul><li>Spring Security </li><ul><li>provides powerful and flexible security solutions for enterprise applications developed using the Spring Framework </li></ul></ul>
  26. 26. Whats new around spring? <ul><li>Spring WS </li><ul><li>aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads </li></ul><li>Spring Integration </li><ul><li>provide a simple model for building enterprise integration solutions. </li></ul><li>Spring Dynamic Module </li><ul><li>makes it easy to build Spring applications that run in an OSGi framework </li></ul><li>Spring Batch </li><ul><li>provide bulk processing to perform business operations in mission critical environments </li></ul></ul>
  27. 27. Whats new around spring? <ul><li>Spring acquire Covalent, company which provide Tomcat commercial support </li><ul><li>Springsource is realy serious to transform SpringFramwork as full stack java ee solution </li></ul><li>Spring acquire ...., Company behind groovy and grails. </li><ul><li>Groovy is new scripting language run in JVM
  28. 28. Grails is groovy implementation of most productive framework rails </li></ul><li>Spring acquire Terracota </li><ul><li>Terracota provide a technology that enable JVM clustering across multiple machine
  29. 29. The most eficient and inovative way to cluster java application </li></ul></ul>
  30. 30. Spring Community <ul><li>Spring is very popular among java programmer.
  31. 31. Easy to find programmer with good spring skill.
  32. 32. Lots of forum, mailing list and QA site will answer spring related question. It means you will never stuck with unsolved problem.
  33. 33. Springframework.org is realy helpfull, all spring source employee, even rod johnson himself will answer any question in it's forum.
  34. 34. Spring official reference is documentation attached in spring framework download bundle. It cover almost all you need, means you never need to buy any book related to spring. </li></ul>
  35. 35. Case Study <ul><li>LinkedIn
  36. 36. Ariba </li></ul>
  37. 37. Spring Stack Spring provide full stack of java development, from core application, middle tier (database), web and integration with other system. Implementing spring architecture means, putting the right foundation for big and complex application. Once we use spring as foundation, extending it with more feature is easy and seamless. Big Spring implementation are there, so all related issue, bug, pitfall or any problem are already solved. We need to learn from it to avoid common mistake and to use proven architecture. There all only positive opinion around internet about spring implementation.
  38. 38. Springsource <ul><li>Company behind Spring Framwork
  39. 39. Provide commercial support
  40. 40. Guarantee future development of Spring framework
  41. 41. Provide professional certification as spring developer
  42. 42. Actively involved in JCP to direct future of java
  43. 43. Mantain spring compatibility with older JVM Such as 1.4 version </li></ul>

×