We are planning to develop Spring Application. In our servers JDK version is 1.5(it cannot be changes as there are so many other applications running on the same server). I am planning to use Spring core , MVC modules.SO can any one suggest which version of spring is suitable for JDK 1.5.And also suggest which version of Hibernate is suitable for the selected spring version.
Thanks in Advance,
Rajesh
Both Spring 4 and Hibernate 4 require Java 1.6 so for Java 1.5 you should use:
Spring 3.2.12.
Hibernate 3.6.10
Related
We are using Java 1.8, Spring Boot 1.5.4.RELEASE with Camel 2.17.1. As this is a very old release now, the team wants to upgrade to latest Spring Boot (2.4.X) and Camel (3.4.2), but due to some deadline issues we can afford only upgrade Spring Boot right now.
As this link, start.io, it gives the information about the compatible ranges of Spring Boot with Camel for only Camel version 3.X.X onward.
Can Spring Boot 2.4.X be used with Camel 2.17.1 or must both frameworks be upgraded simultaneously?
No, the Camel version that is released is only supporting the version of Spring Boot it was built against, e.g., Camel 2.25.x that would be Spring Boot 2.1.x.
There isn't any plan upstream to release a new Camel 2.x release supporting Spring Boot 2.4 or later. Camel 2.x will be EOL at the end of this year, and currently it's not actively developed. We only fix critical bugs and security issues that affect Camel source code (not third parties).
However, Red Hat Integration (commercial product) will, in its next upcoming release, support Spring Boot 2.4.x and also Java 11. That is a special effort they have done to their product (not upstream). As Red Hat is actively supporting their customers for a longer period, than what is possible to do for free at Apache Software Foundation.
I migrated from spring boot 1.5 to 2.0 and used jasper report. Migration has a problem is The import org.springframework.web.servlet.view.jasperreports cannot be resolved. my code is
import org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView;
Can I see how the java package was changed? To be resolve.
Spring Boot 2.0 uses Spring Framework 5.0 where the support for JasperReports was removed. The package org.springframework.web.servlet.view.jasperreports is no longer available.
As per Upgrading to Spring Framework 5.x:
The Spring Framework no longer supports: Portlet, Velocity, JasperReports, XMLBeans, JDO, Guava (replaced by the Caffeine support). If those are critical to your project, you should stay on Spring Framework 4.3.x (supported until 2020). Alternatively, you may create custom adapter classes in your own project (possibly derived from Spring Framework 4.x).
I know that Oracle WebLogic 12.1.3 officially supports verion of Spring Framework 4.0.x .
But, It seems that 4.0.x stream of Spring
Framework will not be maintained in the future.
Then, I'm considering to work with 4.2.x of Spring.
Is there someone working on the same situation?
Spring Framework 4.2.x on Oracle WebLogic 12.1.3.
I'm wondering it works or not.
Please let me know your situation.
Thanks!
We use Spring 4.2.0 on WebLogic 12.1.3 running on Linux. I had not seen any issues. However, I also do not know of any official support statement for this situation.
From Official documentation is only supported:
The WebLogic Server/Spring integration features in WebLogic Server 12.1.3 support Spring Framework versions 3.0.x, 3.1.x, and 4.0.x. (Note that Spring Framework version 3.2.x is not supported.)
This doesn't mean that won't work 4.2.5
I have a project that uses java 1.4, Struts 1, running on WAS 6 and I need to implements Spring Security, for show some components by a ROLE_ADMIN and ROLE_USER, what version of spring security it´s compatible with my project and i neeed to know if the configuration is like the tutorials for spring security 3.0.x that uses the web.xml.
From the FAQ:
Spring Security 2.0.x requires a minimum JDK version of 1.4 and is
built against Spring 2.0.x. It should also be compatible with
applications using Spring 2.5.x.
But when it comes to security, I would not use end-of-life products.
What is the latest version of Jersey that will run with Java 5? I found the Jersey 1.3 documentation saying that Java 6 is required but I'm having troubles finding previous versions of the docs.
If you are stuck with Java 5, your need to use Jersey 1.2.
If the version is not mature enough for you, try Spring 3 MVC for building REST webservices, works with Java 5:
Spring Documentation
Spring blog article
Build RESTful web services using Spring 3 (ibm)
You sure? Jersey 1.7 guide claims 1.5 works, with some additional jars.