90 likes | 267 Views
Presented by Parimala AppLabs. Spring Framework Day 1. Introduction 1.History 2.Benefits 3. Imp Concepts : DI and AOP Architecture Workspace Setup (video) 1. Software / Tools 2. Spring Jars Hello World Example (Hands on). Agenda. The first version by Rod Johnson
E N D
Presented by Parimala AppLabs Spring Framework Day 1
Introduction 1.History 2.Benefits 3. Imp Concepts : DI and AOP Architecture Workspace Setup (video) 1. Software / Tools 2. Spring Jars Hello World Example (Hands on) Agenda
The first version by Rod Johnson The framework was first released in June 2003. The first milestone release, 1.0, was released in March 2004, with further milestone releases in September 2004 and March 2005. Spring 2.0 was released in October 2006, Spring 2.5 in November 2007, Spring 3.0 in December 2009, and Spring 3.1 in December 2011. The current version is 3.2.3, which was released in May 2013. Spring Framework 4.0 is expected by the end of 2013, with plans to support Java SE 8, Groovy 2, some aspects of Java EE7, and WebSockets. Introduction - History
1. Simple, enterprise application with just POJO 2. Modular – pick what you want 3. End to end support for web applications 4. Makes use of existing technologies – logging, batch, ORM etc 5. Testing support 6. MVC support in out-of-box 7. Light weight Introduction - Benefits
Workspace Setup Step 1 : Download JDK and Install Step 2 : Download Eclipse Step 3 : Download Logging Jar Step 4 : Download Spring Jars Step 5 : Verify Watch Full video @ http://youtu.be/u2KI-yvvfGM
Hello world Example Problem : Define a bean and demo the usage Sol : • Define a bean • Define meta data • Write test program Load ApplicationContext using ClassPathXmlApplicationContext Get the bean with bean id Invoke the bean method