• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About choosing the verison of spring framework?

 
Laurence Yip
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any differences between those versions!?

Yes lots of them.

which version should i use

The newest one. 3.1.3.RELEASE
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Laurence Yip
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic