Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Why Spring?

Spring in a Nutshell

• Very popular framework for building Java applications


• Initially a simpler and lightweight alternative to J2EE


• Provides a large number of helper classes … makes things easier


www.luv2code.com
But What About J2EE???

Server-Side
Client-Side Server-Side
Business Database
Presentation Presentation
Logic

www.luv2code.com
But What About Java EE???

J2EE 1.2 J2EE 1.3 J2EE 1.4 Java EE 5 Java EE 6 Java EE 7

Servlets EJB Web Ease of use Pruning, JMS 2


JSP CMP Services EJB 3 Ease of use Batch
EJB JCA Mgmt JPA JAX-RS TX
JMS Deployment JSF CDI Concurrenc
RMI JAXB Bean- y
JAX-WS Validation Web
Sockets

1999 2001 2003 2006 2009 2013

www.luv2code.com
EJB v1 and v2 - Complexity

• Early version of EJB (v1 and v2) were extremely complex!!!


• Multiple deployment descriptors EJB Client

Home Interface
Home Object
• Multiple interfaces
Component Interface
EJB Object

• Poor Performance of Entity Beans Bean Class

www.luv2code.com
J2EE Development without EJB
• Rod Johnson

• Founder of Spring


• Book: J2EE Development without EJB, Wrox Press

• Book: Java Development with the Spring Framework, Wrox Press

www.luv2code.com
Release Timeline
J2EE 1.2 J2EE 1.3 J2EE 1.4 Java EE 5 Java EE 6 Java EE 7 Java EE 8

1999 2001 2003 2006 2009 2013 2016/2017

Java EE

Spring 1.0 Spring 2.0 Spring 3.0 Spring 4.0 Spring 4.3
Spring

2004 2006 2009 2013 Mar 2016

www.luv2code.com
Spring is Still in Demand

• Most sought-after Java skill set by employers and recruiters

www.luv2code.com
What Should You Do?

• Spring


• Java EE

www.luv2code.com
Why Spring?

You might also like