File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes About choosing the verison of spring framework? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "About choosing the verison of spring framework?" Watch "About choosing the verison of spring framework?" New topic
Author

About choosing the verison of spring framework?

Laurence Yip
Greenhorn

Joined: Sep 21, 2012
Posts: 14
hi,

i'm a newbie of j2ee and i've been digging into j2ee 1.5 tutorial for several months, and i'd like to learn one application framwork such as Spring. As far as i know, Spring has many version such as 2.5, 3.0 and 3.1, any differences between those versions!? For running j2ee1.5/JBOSS AS 5.1.0, which version should i use (i'm using jboss as 5.1.0. )!?....


Thanks in advance


LAW
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1632
    
    7

any differences between those versions!?

Yes lots of them.

which version should i use

The newest one. 3.1.3.RELEASE


[How To Ask Questions][Read before you PM me]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

You can use any version you want in any version of JBoss. Spring is POJO based and runs the same no matter the deployment environment.

Unlike Java EE where you have to have a compliant version of the app server to match the Java EE version you are using.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Laurence Yip
Greenhorn

Joined: Sep 21, 2012
Posts: 14
Mark Spritzler wrote:You can use any version you want in any version of JBoss. Spring is POJO based and runs the same no matter the deployment environment.

Unlike Java EE where you have to have a compliant version of the app server to match the Java EE version you are using.

Mark


Ooooo.....very clear....thanks a lot..........LAW
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Hayato Kazame wrote:
Mark Spritzler wrote:You can use any version you want in any version of JBoss. Spring is POJO based and runs the same no matter the deployment environment.

Unlike Java EE where you have to have a compliant version of the app server to match the Java EE version you are using.

Mark


Ooooo.....very clear....thanks a lot..........LAW


OH! I should add one thing. There can be some versioning with relation to an app server. But it is the JDK version that is the issue.

For instance. Spring 3.x or higher requires Java 5 or higher.
Spring 2.x requires Java 1.4 or higher
and Spring 1.x requires Java 1.3 or higher.

But who is going to use Spring 1.x anymore.

And each version is 100% backwards compatible. Meaning I have deployed a Spring 1.x web app into a Java 6 Tomcat and it worked perfectly, no changes.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About choosing the verison of spring framework?
 
Similar Threads
JBoss client/EJB local class incompatible
Step by step process to implement SSL
Should dependency work with inherence from an abstract class
Installing JBoss AS 5 on Ubuntu
Best packaging and deployment strategy for web applications