I saw from the Spring IO Platform website (http://spring.io/blog/2014/06/26/introducing-the-spring-io-platform) and it states that Spring IO is certified to work with Java 1.7 and 1.8.
However, the production stack of my company is Java 1.6 only so may I know that does Spring IO Platform BOM support Java 1.6 as well?
We intensive use Spring, Spring Data, Spring Batch, Spring Integration, Spring Retry.
thanks in advance
No, Java 6 isn't supported by Spring IO Platform. That said, I'm not aware of anything in the projects that you have listed that require Java 7 so it may well work but it isn't something that we (Pivotal) have tested or support.
Related
When is the Spring IO Platform Release scheduled with the latest Springboot 2.0 and Webflux dependencies.
We are using Spring IO Platform Brussels SR4 in dependency management right now, and want to move to Reactive Springboot and Webflux. I think Spring IO Platform Cairo release should include these latest dependencies (correct me if I am wrong), but not sure of the release date for the same.
Spring IO Platform depends on a lot of Spring projects (obviously!) and has to wait for all releases.
You can check both Spring Boot and Spring IO Platform milestone pages to know more about this.
Does SpringRoo generate code for Java 8 features: Streams, Lambda, Parallel Processing? If so, please point to example links.
The SpringRoo release notes mention that it supports Java 8, but has no more details.
Some time ago I was evaluating Spring Roo. There is the 1.x branch which afaik does not have any special support for Java 8 since it was released years ago, and it is a feature of the upcoming 2.x version to support Spring 4 according to a blog entry from early 2015. But there is still no final version available, so possibly this is not a high-priority project.
You might also have a look at Spring Boot. With Spring Boot you can create JPA entities, CRUD repositories and REST interfaces with very little boilerplate code. In my opinion, this reduces the need for a tool such as Spring Roo.
I am looking to create a new web application using spring boot. Unfortunately my server is fairly locked down in terms of the technology stack. It has java 5 installed on it.
Can anyone tell me whether spring boot can run on java 1.5 and what version?
thanks
Since Spring boot 1.0.0, the minimal requirement to run a Spring boot application has been Java 6. This can also be found in the reference guide of Spring boot 1.0.0:
Spring Boot can be used with “classic” Java development tools or installed as a command line tool. Regardless, you will need Java SDK v1.6 or higher.
Support for older Java versions has been dropped throughout releases, with Spring boot 1.3 moving to Java 7 as a baseline (still possible to use Java 6 with additional configuration) and Spring boot 2.x moving to Java 8 as a baseline. Additionally to what the documentation says, none of the Spring boot 1.x versions support Java 9 or higher.
Summarized:
1.0.0: Support from Java 6 - 8
1.3.0: Support from Java 7 - 8, additional configuration for Java 6 required
2.0.0: Support from Java 8 - ...
So, the answer is that it's not possible to run in Java 5.
For Spring Boot 2.0, the requirement is Java 8 as a minimum version.
From the Spring Boot 2.0 release notes :
Spring Boot 2.0 requires Java 8 as a minimum version. Many existing
APIs have been updated to take advantage of Java 8 features such as:
default methods on interfaces, functional callbacks, and new APIs such
as javax.time. If you are currently using Java 7 or earlier, you’ll
need to upgrade your JDK before you can develop Spring Boot 2.0
applications.
When compiled with java 7u79, spring 3.1 app is all good. When compiled on java 7u80, we're encountering some injection issues.
Searching a solution i found that Spring 3 is not compatible with java8, as explained here (due to asm).
We can see here that javac modifications were backported to java 7u80 and java 7u85.
So, am I rigth to think that it's same compatibility problem than for java 8, and that spring 3 app will not work if compiled on java7u80 ?
Sharing my experience - yes, some spring versions have problems with java 8. For example in my project we've had to change spring from 3.2.4 to 3.2.9 to use java 8. I won't put here any particular example because I don't have one but I would advice you to give spring 3.2.9 a chance. We're using it successfully with Java 8.
It's a short question without a trivial answer. The Java EE Framework does not evolve so fast, but it includes more and more features, some of them taken directly from other open source projects like spring and hibernate. Can you list some of the reasons why you still use spring instead of just relying on the standard Java EE features, and maybe comment each reason with a few words?
Thanks in advance!
You can go through sites below to know more :
spring forum
spring-3-0-vs-java-ee-6-0
Spring vs Java EE
Why Java EE Lost and Spring Won