Does spring batch support Java 8? - spring-batch

I would like to know which version of spring batch is compatible with Java 8.
Is the latest version of spring batch 2 compatible with Java 8?
Does spring batch 3 support Java 8?
Best Regards,
Yas

Spring Batchs own documentation provides an answer to this. Deducing from the written documentation, I would assume Spring Batch 2 does not support Java 8.
Taken from the documentation itself
The Spring Batch 3.0 release has five major themes:
JSR-352 Support
Upgrade to Support Spring 4 and Java 8
Promote Spring Batch Integration to Spring Batch
JobScope Support
SQLite Support
Further in the documentation, under section 2.3, the following is stated:
Spring Batch now supports being run on Java 8. It will still execute on Java 6 or higher as well.
Source: Spring Batch Documentation

Related

Mapstruct Java Spring Compatibility

I am planning to use MapStruct in my project. Using JDK11, Spring boot 2.7.x has my current version but soon planning to upgrade it to JDK17 and Spring Boot 3.0. Based on documentation, latest library will support JDK8 onwards. Would like to know, whether library will support for above said specification. And also would like to know, how actively the project is going to support in near future?

spring-data-aerospike compatibility matrix

Hi looking for guidance on a version of spring-data-aerospike for Springboot 2.4.2. I don't see it listed here
There wasn't a specific spring-data-aerospike version that used Spring Boot 2.4.2.
spring-data-aerospike 2.4.2.RELEASE used Spring Boot 2.3.5.RELEASE.
spring-data-aerospike 2.5.0/3.0.0 used Spring Boot 2.5.1.
spring-data-aerospike 3.0.1 is using Spring Boot 2.5.3.
Using the latest spring-data-aerospike is recommended, if you can I would consider an upgrade, if its not an option - I would suggest using the latest version possible that works with your current version of Spring Boot (probably 2.4.2.RELEASE).

Mybatis and Spring Boot 2.5

Will Mybatis support Spring Boot 2.5? Currently Mybatis Framework is shown as an unsupported Dependency on the Spring initializer Site for Spring Boot 2.5.0 M1 release.
Yes, it will once it reaches GA.
'M1' means it still is a milestone release.
See this answer for the details.
Even 2.5.0 GA can not choose Mybatis Framework In Initializr,
but I hear it is preparing now.
Besides, I can still use it by adding mybatis-spring-boot-starter to dependencies.

What is the difference between Spring Tool Suite 3 and 4?

I want to study Spring. In the case of STS (Spring Tool Suite) 3, there is "Spring legacy Project". 4 has a "Spring Starter Project", is it the same?
When I asked the Internet, people say "just use version 3".
What is the difference between version 3 and version 4?
Is "Spring Starter Project" and "Spring Legacy Project" the same thing?
1.What is the difference between version 3 and version 4?
Version 4.0 is the latest major release of the Spring Framework and the first to fully support Java 8 and few new features.[more]
Is "Spring Starter Project" and "Spring Legacy Project" the same thing?
Technically both are same spring project's. But they have some difference in configuration and build areas.
Spring Starter Project- Helps to create the spring boot project.(Spring Boot is basically an extension of the Spring framework which eliminated the boilerplate configurations required for setting up a Spring application.)
Spring Legacy Project - Helps to create the spring maven project. In which all the required configuration like servlet context,web,.. need to be configured manually either by using xml file or java classes.
Take a look at this page to know more about the difference between spring vs spring boot
If you are going to start learning spring from beginning, my suggestion is use Spring Starter Project because in Spring boot project setup is so simple, you can start coding with zero manual configuration.
For a more detailed introduction of the Spring Tools 4, please take a look at the blog post from the initial GA release of the Spring Tools 4:
https://spring.io/blog/2018/09/25/spring-tools-4-ga-released
There is no direct relation between the version numbers of the Spring Framework itself and the Spring Tools. In general, the Spring Tools 4 as well as the older Spring Tool Suite 3 support various Spring versions, ranging from Spring Framework 3 up to Spring Framework 5.2 and beyond.
I would strongly recommend to start with learning Spring by starting with Spring Boot, not the Spring Legacy projects. This is the way modern Spring applications are being built nowadays... :-)

Which XQuery engine JBoss AS 7 supports?

I am working on AVOS to camunda migration project and getting issues while using existing XQuery files in JBoss AS 7. Which engine/version of XQuery, JBoss AS 7 supports?
As far as I know, JBoss EAP does not provide any XQuery processor. It however embeds Xalan which provides an XSLT processor.
RedHat would probably propose you to use their JBoss Fuse product to implement XQuery transformations. I've never used the product so I won't be able to give you any feedback on it.
Of course a viable alternative is adding an XQuery processor like Saxon to your application or platform yourself. If you want to deploy it to the platform instead of to each application, see the module mechanism.