Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions and Spring MVC Buenos Aires, June 2009.

Slides:



Advertisements
Similar presentations
Introduction to the Spring Framework
Advertisements

3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Spring, Hibernate and Web Services 13 th September 2014.
Introduction to the Spring Framework University of Kansas January 2009 This presentation and example application are available at
© 2005, Cornell University. Rapid Application Development using the Kuali Architecture (Struts, Spring and OJB) A Case Study Bryan Hutchinson
Pragmatic Application Building: Step by Step Jay Sissom Principal Systems Analyst Indiana University
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
© Internna Technologies 1 IWebMvc Features, Possibilities & Goals.
Address - #22, 1 st Floor, Station View Road, Kodambakkam, Chennai JTech Soft Solutions Website:
The Spring Framework TM Rod Johnson Interface21. Spring framework goals Make J2EE easier to use Address end-to-end requirements rather than one tier Eliminate.
The Spring Framework: A brief introduction to Inversion of Control James Brundege
Last Update: 5/15/061 Spring J2EE Framework Ram A. Rao May 15 th ‘05.
Intro to Spring CJUG - January What is Spring? “The Spring framework provides central transaction control of various objects.” This means that any.
Using Third-Party Frameworks in Building Blocks™ David Ashman Principal Architect, Product Development.
The Spring Framework A quick overview. The Spring Framework 1. Spring principles: IoC 2. Spring principles: AOP 3. A handful of services 4. A MVC framework.
Spring Framework Adam Waldal Senior Consultant. About me..  OPI is a leader in J2EE consulting with Relationships with BEA, IBM, Tibco, and many other.
J AVA SE, EE, AND ME Compiled (with permission) from Sang Shin’s Introduction to Java EE Online Course Introduction to Java EE Online Course.
UNIT-V The MVC architecture and Struts Framework.
Java Frameworks Indy Java Users Group January 29, 2003.
NetArchive Suite Workshop 2011 Technical Track - Code refactoring with the Spring Framework.
Spring Framework. Spring Overview Spring is an open source layered Java/J2EE application framework Created by Rod Johnson Based on book “Expert one-on-one.
Introduction to the Spring Framework By: Nigusse A. Duguma Kansas State university Department of Computer Science Nov 20, 2007.
Spring Overview, Application demo -Midhila Paineni 09/23/2011 Spring Overview, Application demo9/8/20151.
Spring. Spring Overview Spring Container Concepts Spring and AOP Spring and Data Access Managing Transactions and Resources Remoting and Accessing Enterprise.
Agenda What is Hibernate Spring Integration Questions Overview
The Spring Framework Training Get to know Spring Framework Rohit Prabhakar
Introduction to the Spring Framework Rajesh. Spring Mission Statement J2EE should be easier to use OO design is more important than any implementation.
OpusCollege and the use of Spring and iBatis
Dependency Injection in Action Jan Västernäs. CADEC2006, DI, Slide 2 Copyright 2006, Callista Enterprise AB Agenda (DI=Dependency Injection) Background.
Text 16 de mayo de 2009 Spring Framework Part I. Dependency Injection Buenos Aires, May 2009.
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Opus College - overview. OpusCollege - background First project: ICT Capacity Building Mozambican Higher Education Institutions Partners: RUG Groningen,
Copyright © 2005 Finetix LLC All Rights Reserved 0 SpringFramework.Net Developer Session Chris Donnan The Peer Frameworks Series -.Net and Java.
Spring Framework. Spring Overview Spring is an open source layered Java/J2EE application framework Created by Rod Johnson Based on book “Expert one-on-one.
Introduction to Web Dimitar Nenchev Ivan Nakov
Spring Database Access Ojitha Kumanayaka Copyright © Virtusa, 2007.
A Presentation By V AIBHAV S AHARAN Web-enHanced Information Management COMS E6125.
Case Study ProsperaSoft’s global sourcing model gives the maximum benefit to customers in terms of cost savings, improved quality, access to highly talented.
Spring Framework. About spring Spring is the most popular application development framework for enterprise Java. Millions of developers around the world.
Struts Framework Anna Paščenko. What is Struts?  An open source framework for building Java web applications.
Enterprise Java Overview Panos Konstantinidis Java Developer JUG Leader & Java Champion
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions Buenos Aires, June 2009.
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Spring MVC Essentials Getting started.
Spring and DWR Frameworks for Rich Web Enterprise Application Thomas Wiradikusuma Presentation to the 20 th.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
JAVA EE 6 Best Practices for Migrating Spring to WTF ?!?
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Introduction to Data Access with Spring.
Kansas City Java User’s Group Jason W. Bedell July 12, 2006
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions Buenos Aires, June 2009.
Kuali Rice Evolving the Infrastructure for Kuali Applications Brian McGough (Indiana University) Aaron Godert (Cornell University)
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Overview of the Spring Framework Introducing.
Spring Framework BT Team 25/02/ Spring A lightweight framework that addresses each tier in a Web application. Presentation layer – An MVC framework.
Spring JDBC Dima Ionut Daniel. Contents What is Spring JDBC? Overview Spring JDBC Core SQL Exceptions Database Connection Batch Operations Handling BLOB/CLOB.
Fundamentals of MyBATIS
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
.  A reference model developed for an important use case (Air Job) including UI widgets, controllers, services and DAOs.  After full requirement analysis.
PA165: Introduction to Java EE Petr Adámek Tomáš Pitner Lecture 1, D2, 12:00 Tue Sep 16, 2014.
Spring Training Attune University Attune University.
Training What’s Spring? The leading full-stack Java/JEE application framework.
Best 3 Software Development Languages. Hibernate Training Hibernate is a high-performance object-relational mapping tool and query service. Hibernate.
J2EE Platform Overview (Application Architecture)
J2EE Lecture 6: Spring – IoC and Dependency Injection
Spring Framework Power to the POJO.
Field of Dreams An Online Sporting Goods Marketplace
Unit 6-Chapter 2 Struts.
By Ru Shen Department of Computer Science UAlbany, 2008
Intro to Spring CJUG - January 2013.
JavaServer Faces: The Fundamentals
Developing and testing enterprise Java applications
Presentation transcript:

Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions and Spring MVC Buenos Aires, June 2009.

16 de mayo de 2009 Contents  The problem  The Spring Framework  Dependency Injection  Aspect-Oriented Programming  Portable Service Abstractions  Best Practices

16 de mayo de 2009 Contents  The problem  The Spring Framework  Dependency Injection  Aspect-Oriented Programming Portable Service Abstractions  Best Practices

16 de mayo de 2009 Portable Service Abstractions Consistent integration with various standard and 3rd party APIs. Allows access to these frameworks without knowing how they actually work. Spring provides abstraction and integration for: – Transaction Management: JTA, JDBC, others – Data Access: JDBC, Hibernate, JDO, TopLink, iBatis – – Remoting – EJB, Web Services, RMI – Integrates nicely with Struts, JSF, Tapestry, Velocity and other web frameworks Spring also provides it’s own web framework, Spring Web MVC

16 de mayo de 2009 Portable Service Abstractions Benefits: Insulates you from the underlying APIs Greater reusability Spring abstractions always consist of interfaces This makes testing simpler For data access, Spring uses a generic transaction infrastructure and DAO exception hierarchy that is common across all supported platforms

16 de mayo de 2009 Spring integration with Hibernate Define a DataSource bean Define a Session Factory bean demo.entity.Contact org.hibernate.dialect.Oracle10gDialect

16 de mayo de 2009 Spring integration with Hibernate Define an Hibernate Template bean Define a Transaction Manager bean Define a Parent DAO bean for CRUD operations

16 de mayo de 2009 Spring integration with Hibernate Define an Transaction Proxy Template bean Service interface and implementation PROPAGATION_REQUIRED

16 de mayo de 2009 Spring integration with Hibernate DAO interface and implementation

16 de mayo de 2009 Why use Spring? Spring can effectively organize your middle tier objects, whether or not you choose to use EJB. Spring can eliminate the proliferation of Singletons seen on many projects. Spring can eliminate the need to use a variety of custom properties file formats, by handling configuration in a consistent way throughout applications and projects. Spring can facilitate good programming practice by reducing the cost of programming to interfaces, rather than classes, almost to zero. Spring is designed so that applications built with it depend on as few of its APIs as possible. Applications built using Spring are very easy to unit test.

16 de mayo de 2009 Why use Spring? Spring can make the use of EJB an implementation choice, rather than the determinant of application architecture. Spring helps you solve many problems without using EJB. For example, using AOP to deliver declarative transaction management without using an EJB container. Spring provides a consistent framework for data access, whether using JDBC or an O/R mapping product such as TopLink, Hibernate or a JDO implementation. Spring provides a consistent, simple programming model in many areas, making it an ideal architectural "glue." Spring is essentially a technology dedicated to enabling you to build applications using POJOs.

16 de mayo de Thank You