Copyright © 2005 Finetix LLC All Rights Reserved 0 SpringFramework.Java Developer Session Solomon Duskis The Peer Frameworks Series -.Net and Java.

Slides:



Advertisements
Similar presentations
Copyright © 2005 Finetix LLC All Rights Reserved 0 Spring Framework Developer Session Chris Donnan & Solomon Duskis The Peer Frameworks Series -.Net and.
Advertisements

3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Spring, Hibernate and Web Services 13 th September 2014.
Introduction to Spring Matt Wheeler. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to Java Stack – Basic.
Tu sca ny 1 Simplifying Service Oriented Applications with The Apache Tuscany project Jeremy Boynes 27 July 2006.
Next Generation Node (NGN) Technical Overview April 2007.
Overview of The Java Platform Solution for E-Business Applications : JSP, Servlet and EJB.
© 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
Nikolaos Korfiatis The Java 2 Enterprise Edition Platform Dept. of Management & Technology-Athens University of Economics and Business Java 2 Platform.
Copyright  2001 Urbancode Software Development, Inc. All Rights Reserved. Optimizing J2EE Applications A Comparison of J2EE Design Idioms and their Performance.
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.
An Introduction to Hibernate Matt Secoske
Spring Framework Adam Waldal Senior Consultant. About me..  OPI is a leader in J2EE consulting with Relationships with BEA, IBM, Tibco, and many other.
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.
April 05 Prof. Ismael H. F. Santos - 1 Modulo II Spring-MVC Controllers Prof. Ismael H F Santos.
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.
Copyright 2007 © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
1 Stateful Session Beans Stateless Session Beans Michael Brockway Sajjad Shami Northumbria University School of Computing, Engineering & Information Sciences.
Enterprise Java Bean Matt. 2 J2EE 3 J2EE Overview.
Introduction to J2EE Architecture Portions by Kunal Mehta.
TDDD05 EJB Lab (Part of slides reused from Mikhail’s) Lu Li
Dependency Injection in Action Jan Västernäs. CADEC2006, DI, Slide 2 Copyright 2006, Callista Enterprise AB Agenda (DI=Dependency Injection) Background.
JBoss at Work JAW Motors Application Chapter 1-3 Jeff Schmitt October 9, 2006.
J2EE Structure & Definitions Catie Welsh CSE 432
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 Spring Matt Wheeler. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to Java Stack – Basic.
J2EE Overview ver 1.0Page 1 © Wipro Technologies Talent Transformation J2EE Overview.
1 LIBeLIS JDO verleiht Flügel Enterprise Information Access Scalable, robust JDO solutions « JDO: Just Do Objects ! » Alexander v. Zitzewitz
Inversion Of Control & Dependency Injection Break Apart The Dependencies Oren Eini Senior Developer We! Consulting Group
Creative Commons Attribution- NonCommercial-ShareAlike 2.5 License Sakai Programmer's Café Sakai Montreal CRIM Workshop Introduction to Spring Framework,
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
Enterprise JavaBeans Understanding EJB Components Version 0.1 Kamal Wickramanayake
A Presentation By V AIBHAV S AHARAN Web-enHanced Information Management COMS E6125.
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Introduction to Spring Remoting Simplifying.
Presentation & Business Tier Design Patterns Pearce.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 8 1COMP9321, 15s2, Week.
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions Buenos Aires, June 2009.
Java EE Patterns Dan Bugariu.  What is Java EE ?  What is a Pattern ?
Topic : Hibernate 1 Kaster Nurmukan. An ORM tool The problem fixed by ORM Advantage Hibernate Hibernate Basic –Hibernate sessionFactory –Hibernate Session.
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.
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
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
Java Programming: Advanced Topics 1 Enterprise JavaBeans Chapter 14.
Copyright © 2002 ProsoftTraining. All rights reserved. Enterprise JavaBeans.
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Overview of the Spring Framework Introducing.
Topic : Hibernate 1 Kaster Nurmukan. An ORM tool Used in data layer of applications Implements JPA.
EJB Enterprise Java Beans JAVA Enterprise Edition
Text 16 de mayo de 2009 Spring Framework Part III. Portable Service Abstractions and Spring MVC Buenos Aires, June 2009.
Enterprise Java Beans. Contents  Understanding EJBs  Practice Section.
CS520 Web Programming Spring – Inversion of Control Chengyu Sun California State University, Los Angeles.
J2EE Lecture 6: Spring – IoC and Dependency Injection
Low Budget Productions, LLC
CS520 Web Programming Spring – Inversion of Control
Introduction to J2EE Architecture
By Ru Shen Department of Computer Science UAlbany, 2008
Distributed System Using Java 2 Enterprise Edition (J2EE)
Developing and testing enterprise Java applications
Presentation transcript:

Copyright © 2005 Finetix LLC All Rights Reserved 0 SpringFramework.Java Developer Session Solomon Duskis The Peer Frameworks Series -.Net and Java

Copyright © 2005 Finetix LLC All Rights Reserved 1 SpringFramework Release  "Simple thing should be simple, and complex things should be possible." - Alan Kay "Unless simple things are simple, complex things are impossible." - Rod Johnson  Spring 0.9 announced at The Serverside Java Symposium 2002

Copyright © 2005 Finetix LLC All Rights Reserved 2 J2EE Design and Development

Copyright © 2005 Finetix LLC All Rights Reserved 3 Anti-EJB  Spring In Action (Craig Walls) – EJB is complex, not for just being complex. It is complex because it attempts to provide solutions for complex problems  The complex problems include distributed transactions across a variety of system types, including Relational Databases, MoM and Legacy Systems  2004

Copyright © 2005 Finetix LLC All Rights Reserved 4 J2EE Development without EJB

Copyright © 2005 Finetix LLC All Rights Reserved 5 Martin Fowloer on IoC Containers  Martin Fowler (IoC Containers and the DIP) – Inversion of control is a common characteristic of frameworks, so saying that these lightweight containers are special because they use inversion of control is like saying my car is special because it has wheels… For this new breed of containers the inversion is about how they lookup a plugin implementation.

Copyright © 2005 Finetix LLC All Rights Reserved 6 Today

7 People  Interface21 – International consulting company run by Rod Johnson. The Interface21 consultants are the core Spring Framework Developers.  Matt Raible: Creator of AppFuse Strategic adoption in many enterprises moving away from traditional costly, inefficient J2EE approaches This new paradigm is realized through WebLogic Real Time (WLRT). Extensive and growing usage across many industrites including: Retail and Investment banks, Insurance companies (US and Europe) and even Governments. In Banking: 5 out of the world's 10 largest banks are Spring users and Interface21 clients. That's pretty impressive IMO. Spring 2.0: builds on the solid base, pursues vision of POJO-based development and adds new capabilities and makes many tasks more elegant. They're hoping to release 2.0 in May 2006.

Copyright © 2005 Finetix LLC All Rights Reserved 8 Java Frameworks Galore

Copyright © 2005 Finetix LLC All Rights Reserved 9 Spring DataSource Configuration

Copyright © 2005 Finetix LLC All Rights Reserved 10 Spring Session Factory Configuration product.hbm.xml ${hibernate.dialect}

Copyright © 2005 Finetix LLC All Rights Reserved 11 Spring Dao Configuration

Copyright © 2005 Finetix LLC All Rights Reserved 12 Java Hibernate Dao Code public class ProductDaoImpl extends HibernateDaoSupport implements ProductDao { public Collection loadProductsByCategory(String category) throws DataAccessException { return getHibernateTemplate().find( "from test.Product product where product.category=?", category); }

Copyright © 2005 Finetix LLC All Rights Reserved 13 Declarative Transaction Configuration <bean id="myTxInterceptor" class="org.springframework.transaction.interceptor.TransactionInterceptor"> product.ProductService.increasePrice*=PROPAGATION_REQUIRED product.ProductService.someOtherBusinessMethod=PROPAGATION_MANDATORY product.ProductService myTxInterceptor myProductServiceTarget

Copyright © 2005 Finetix LLC All Rights Reserved 14 Service Code, Fully Transactional via IoC/AOP public class ProductServiceImpl implements ProductService { private ProductDao productDao; public void setProductDao(ProductDao productDao) { this.productDao = productDao; } public void increasePriceOfAllProductsInCategory(final String category) { List productsToChange = this.productDAO.loadProductsByCategory(category);... }... }