Spring Framework 3.0.2 released |
|

I'm pleased to announce that Spring Framework 3.0.2 is available now, including more than 100 fixes for user-reported issues. Get it from our download page.
Spring 3.0.2 catches up with recent third-party releases such as Hibernate 3.5 final, OpenJPA 2.0 beta 3, Hessian 4.0.3, and JasperReports 3.7. In addition, this release introduces web support refinements (e.g. the new HttpEntity class) and fixes a couple of regressions.
We recommend upgrading to Spring 3.0.2 from all previous Spring 3.0 releases – for both development and production use. If you are currently using Spring 2.5, the 3.0.2 release is the recommended entry point into the world of Spring 3 now. Enjoy!
P.S.:
Since there were several questions about supported third-party versions, let me summarize our general approach quickly: Spring ships with build dependencies on specific library versions (e.g. Hibernate 3.3.1) but at the same time supports a range of versions at runtime (e.g. Hibernate from version 3.2 up to 3.5). The specific library versions that Spring builds against are generally not the 'recommended' versions but rather just the most suitable ones for us to build against.
So in terms of choosing a library version for use with Spring in your application, simply speaking, feel free to pick your favorite version – very recent or a couple of years old. Spring as a framework won't unnecessarily constrain you in that choice; we are even actively trying to support a range of popular versions. Wherever we require a minimum version of a third-party library for specific features, our components (e.g. LocalSessionFactoryBean) will usually tell you so in their javadoc.
Similar Posts
- Spring Framework 3.0.3 released
- Spring Framework 3.0.1 released
- Spring Framework 3.0 RC3 released
- SpringSource Application Platform Manifest Headers
- Spring Framework 3.1 goes GA









Matt B says:
Added on April 2nd, 2010 at 10:46 amIs there any way to obtain release notes with a full list of what issues are fixed in 3.0.2?
Juergen Hoeller (blog author) says:
Added on April 2nd, 2010 at 11:36 amThe distribution includes an overview in the form of the changelog.txt file. For a full list, see the release notes page in JIRA: http://jira.springframework.org/secure/ReleaseNote.jspa?projectId=10000&version=11332
Marc says:
Added on April 4th, 2010 at 10:15 amAfter updating, all the urls on my website that are based on REST based paths give 404s. Not sure why yet
Marc says:
Added on April 4th, 2010 at 4:44 pmOk, there is a problem here. In URLPathHelper line 228 a piece of code was introduced to resolve a Websphere issue that on my Tomcat v6 seems to have the consequence that the entire path is reduced to "/". Let's say we have a mapping such as "/en/account/" specified as requestmapping.
At line 228 the trailing slash is removed. We now have "/en/account". Then on line 145, the code specifies: return pathWithinApp.substring(servletPath.length());
pathWithinApp is: "/en/account/"
servletPath at this point is "/en/account"
the resulting mapping returned is "/"! So, now all REST style mappings that end with "/" are reduced to "/" and result in a 404. That's how it looks from my end.
Juergen Hoeller (blog author) says:
Added on April 5th, 2010 at 6:26 amMarc, does specifying <property name="alwaysUseFullPath" value="true"/> help in your scenario? You'll probably have to add this to both your DefaultAnnotationHandlerMapping and your AnnotationMethodHandlerAdapter (and you'll have to define those beans explicitly instead of using <mvc:annotation-driven/> to begin with). UrlPathHelper will never attempt to extract a path within a servlet mapping then but rather always use the full path within the application's context path, which seems to be what your request mappings are designed for.
Juergen
Marc says:
Added on April 5th, 2010 at 10:16 amYes, this resolves it. Thanks for the quick reply.
jack says:
Added on April 5th, 2010 at 8:53 pmThe readme file indicates that sampels are in a separated download. Could you tell me the link to download samples?
Thanks, Jadk
Keith Donald (blog author) says:
Added on April 6th, 2010 at 8:14 amJack,
Our sample applications are available for checkout and build/run in the following SVN repository: https://src.springframework.org/svn/spring-samples/. I recommend reviewing the 'petcare' and 'petclinic' samples to familiarize yourself with the Spring feature set. In addition, I recommend working through the "Spring 3 Simplification" tutorials on this blog to familiarize yourself with the Spring 3 feature set. Those tutorials are conveniently listed for you at the following link: http://www.springsource.org/documentation.
Best regards,
Keith
jack says:
Added on April 6th, 2010 at 10:21 amThanks Keith,
I find the samples. I am actually looking for any new version of portlet samples. I found there is petportal sample in 2.5.6 release. But the sample seems get dropped since 3.0.0 realease. I am also wondering if JSR286 is supported by Spring Framework now.
Best regards,
Jack
deepak says:
Added on April 7th, 2010 at 2:27 amwhat is the difference between @springbean and @autowire annotation
Force Factor says:
Added on April 13th, 2010 at 2:22 amI've been reading up on it because a friend of mind said it would be easier to use it instead of JNDI. However I've also read documentation saying it is a replacement for J2EE entirely! At a low level,
http://www.articlesbase.com/health-articles/force-factor-review-amp-free-trial-2113761.html
sun says:
Added on April 26th, 2010 at 3:13 amproducts on iPad Converter for Mac supported, choose your favorite one.Free download Mac ipad converter and have a wonderful trial.
SN says:
Added on April 29th, 2010 at 1:31 amCongratulations!
The one thing, I feel where spring (MVC) needs to improve is taglibs. Struts2 has some great tags like component, action etc..
I have just filed a Jira ticket for providing a custom tag like struts2's 'action' tag that will allow to call controllers from a view. It's a cool feature of struts2 that allows to develop views as components that servers the content from different controllers, or let the another controller make additional model available to calling view.
The ticket is here http://jira.springframework.org/browse/SPR-7139
Any comments on this !
Thanks
SN
john jimenez says:
Added on June 18th, 2010 at 1:51 pm@jack spring 3 supports jsr-286 but the spring reference document does not reflect it.
jack says:
Added on June 18th, 2010 at 1:55 pmthanks john,
relicaexpo says:
Added on October 11th, 2010 at 1:45 amHi,
Seems like it’s a nice blog. So let us also add something useful in it. With all positive manufacturing data scope of import and export is increasing day by day. In mechanical field everyone want to have one stop shop for there manufacturing needs. So Relicaexpo is the ultimate solution for them.
Regards
Replica handbags china says:
Added on October 16th, 2010 at 8:51 pmGood article, thanks for pointing this out.
Fortunately this topic is also presented in your blog, assuring a good coverage.
Keep up the good work.