Support AOT and spring native in eureka server - spring-boot

am reading about sprint native and AOT and i noticed that eureka-server does not support native image, resource: https://docs.spring.io/spring-cloud-netflix/docs/current/reference/html/#aot-and-native-image-support-2
any reason for not supporting native-image ? will it be supported in future ?
Thanks in advance

Related

SpringBoot Microservice with GraalVM Native Image without Spring Native Beta

I am exploring a possibilty to convert my existing Spring Boot facade services to be compatible with GraalVM image. I have tried to do a PoC with Spring Native (0.11). And it actually serves the purpose (solving cold-start problem). But I am skeptical to go with Spring Native in production as it's still with Beta. I am evaluating my option with Helidon & Quarkus and the performance benchmark seems to be fascinating.But as we have 100+ Microservices to convert and it will be a huge manual effort and we don't want that right now.
Is there any other option available with Spring Boot with GraalVM native image but without Spring Native Beta.My requirement is pretty simple. We are using few flavors of Spring (boot-starter, WebServiceTemplate, Spring Cloud for config server & discovery , zpipkin for logging). If I don't want to use Spring Boot what are the other stable options available within Java EE without introducing a new framework (aka Helidon or Quarkus).

How to configure the port of a Spring Boot app that's natively compiled by GraalVM Native Image from command line?

Spring Boot introduces GraalVM Native Image support with the introduction of the Spring Graal Native 0.6.0 feature. Now if we have a successfully compiled native Spring Boot app, how can we dynamically change the port of an application at startup on the commandline (as we are used to in JVM mode)?
This is crucial for deployment scenarios with Docker or cloud providers...
As we're already used to do this in JVM mode like:
java -Dserver.port=8087 -jar spring-boot-graal-0.0.1-SNAPSHOT.jar
we can do the same with a natively compiled Spring Boot app:
./spring-boot-graal -Dserver.port=8087
Thanks for the inspiration from Quarkus! See 100% comprehensible example project here: https://github.com/jonashackt/spring-boot-graalvm

Spring IO Platform Cairo Release date with Springboot 2.0

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.

EJB,JAX-WS support by Spring tcServer

I see tcServer is built on Apache Tomcat. So the support of EJB,JAX_WS support is not available on tcServer/ApacheTomcat. But Apacahe Tomcat has other versions like TomEE+ or integrating OpenEJB, provides support for EJB,JAX-WS.
So, is there similar support by tcServer to support EJB,JAX-WS?
No, Like you said tc Server is based on Apache Tomcat, not TomEE. So, there is no support for EJB or JAX-WS, nor is there an effort to support EJB or JAX-WS.

Google app engine compatibility with Spring framework

I have started developing a web app using google app engine and Spring 4. But now i have understood that Spring 4 does't fully support with Google app engine.
Now i need the latest version of Spring framework that fully support with google app engine.
Can someone please help me?
You'll find the list of Spring supported modules and versions in this
link :
Spring MVC
Version 2.5.6
Status COMPATIBLE
Spring ORM
Version 2.5.6
Status COMPATIBLE
Spring Security
Version(s) ?
Status SEMI-COMPATIBLE
To work around a ClassNotFoundException, you can use a re-compiled version of the library which adds a StringInsensitiveComparator class .
For more details check out this link.
Hope it helped, Good luck

Resources