1 / 17

Formation Subvertion

Formation Subvertion. Formation SUBVERTION. 1. Sommaire Formation SPRING (5j) ‏. Rappels J2EE Historique, définition et architecture SPRING Concept clé N°1 : injection de dépendances Concept clé N°2 : Programmation Orientée Aspect Accès aux données JDBC Gestion des transactions ‏

darrin
Télécharger la présentation

Formation Subvertion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Formation Subvertion Formation SUBVERTION 1

  2. www.objis.com - Formation SPRING Sommaire Formation SPRING (5j)‏ • Rappels J2EE • Historique, définition et architecture SPRING • Concept clé N°1 : injection de dépendances • Concept clé N°2 : Programmation Orientée Aspect • Accès aux données JDBC • Gestion des transactions‏ • Gestion de la sécurité ‏ • Développement web avec Spring MVC • Intégration Spring / Struts • Intégration Spring / Hibernate ‏ • ‏ Integration Spring / Webservices • Intégration Spring / JMS www.objis.com - Formation SPRING 2

  3. www.objis.com - Formation SPRING Rappels J2EE • Architecture • Livraisons • Services • Modularité www.objis.com - Formation SPRING 3

  4. www.objis.com - Formation SPRING Architecture J2EE www.objis.com - Formation SPRING 4

  5. www.objis.com - Formation SPRING Livraisons J2EE 5

  6. www.objis.com - Formation SPRING Services J2EE • JNDI : Java Naming Directory Interface • JCA : Java Connector Architecture • JTA : Java Transaction API • JPA : Java Persistence API • JMS : Java Message Service • JAAS : Java Authentication & Authorisation Service • JAX-WS : Java API for XML Web Services • JAXB : Java API for XML Binding www.objis.com - Formation SPRING 6

  7. www.objis.com - Formation SPRING Etape 1 : Introduction Spring • Historique • Définition • Architecture www.objis.com - Formation SPRING 7

  8. www.objis.com - Formation SPRING SPRING : Historique • Rod Johnson (2002) • Faire avec un simple bean (POJO) ce qui était seulement possible avec EJBs • Environnement J2SE et J2EE • Simplicité • Testabilité • Couplage faible. Programmation par interfaces www.objis.com - Formation SPRING 8

  9. www.objis.com - Formation SPRING SPRING : définition • Framework et conteneur léger, à injection de dépendance et orienté aspect. • framework : permet configuration et création d'applications complexes à partir de composants réutilisables • conteneur : Spring contient et manage cycle de vie des composants susceptibles d'être injectés • léger : taille (2,8Mb) + surcharge JVM + non intrusif • à injection de dépendance : Spring vous injecte les composants dont vous avez besoin = JNDI Reverse. • orienté aspect : permet séparation logique métier et services techniques transversaux (Logs, Sécurité. Transaction..)‏ www.objis.com - Formation SPRING 9

  10. www.objis.com - Formation SPRING Conteneurs Spring • Plusieurs implémentations de Conteneurs héritant de 2 interfaces principales • BeanFactory (org.springframework.beans.factory.BeanFactory)‏ • Ex : XMLBeanFactory : définition beans dans XML • Convient si pb de ressources (Ex :tel portable) • ApplicationContext (org.springframework.context.ApplicationContext)‏ • Extension de BeanFactory • Ex : ClassPathXMLApplicationContext,FileSystemXMLApplicationContext • Messages, I18n, publication d'évènements à des listeners 10

  11. www.objis.com - Formation SPRING SPRING : architecture modulaire • Jusqu'où votre appli. sera orientée SPRING ? www.objis.com - Formation SPRING 11

  12. www.objis.com - Formation SPRING SPRING : Modules clés • Core : fonctions essentielles. Utilise fabrique de bean (conteneur) org.springframework.beans.factory.BeanFactory. Support de l'injection. • Application Context : ce qui permet de faire de Spring un Framework : support internationalisation (i18n), cycle de vie, validations + services entreprises : acces JNDI, integration EJB, scheduling + intégration velocity/Freemarker • AOP :Gère la séparation préocupations transversales techniques. Possibilité créez vos propres aspects. Intégration avec AspectJ et basés sur interfaces de l'AOP Alliance • DAO / JDBC : accès aux données (gestion exceptions). • ORM : intégration framework ORM (hibernate, iBatis, JPA, JDO). Rq : avec DAO, permet de donner DAO à plusieurs frameworks ORM. www.objis.com - Formation SPRING 12

  13. www.objis.com - Formation SPRING SPRING : Modules clés • JMX : possibilité d'exposer vos beans comme composants JMX (Java Management Extension). Monitoring des beans. • JCA : connecteur JEE. Intégration Spring avec mainframes, et autres système d'information (ERP,CRM, MOM...)‏ • Spring MVC : Créer applications web Model-Vue-Controlleur avec Spring. • Portlets : Une page web = plusieurs portlets • Remoting : Accéder aux beans à travers le réseau. Intégration RMI, JAX-RPC, JAX-WS. • JMS : Intégration Java Messages Services www.objis.com - Formation SPRING 13

  14. www.objis.com - Formation SPRING SPRING : architecture modulaire • Exemple modules pour appli Struts/Hibernate www.objis.com - Formation SPRING 14

  15. www.objis.com - Formation SPRING Sessions SPRING 2009 5 jours - Inter entreprises • 25-29 mai 2009 • 19- 23 octobre 2009 • 7-11 décembre Tarif : 2150 Euros HT par personne - Dégressif à partir de 2 personnes.- Nous contacter www.objis.com - Formation SPRING 15

  16. www.objis.com - Formation SPRING Objis propose aussi... • Offres spécial SSII • Cours du soir sur thèmes demandés par le marché • Coaching consultants intercontrats • Offre pour développeurs PHP/C/Delphi/VB/.NET • Stages intensifs 15 jours JAVA • Thèmes : Struts – Hibernate – Spring – EJB3 – MAVEN... • Formation Serveurs d'application : Tomcat – Jboss – Jonas • Formation conception : UML – Design pattern - XML www.objis.com - Formation SPRING 16

  17. www.objis.com - Formation SPRING Contact : Douglas Mbiandou • Ingénieur INSA Lyon (2000) • 8 ans d'expériences projets SI • Architecte / Formateur Java • Responsable formation Objis • 04 78 29 37 26 / 06 60 46 76 45 • douglas.mbiandou@objis.com www.objis.com - Formation SPRING 17

More Related