I am trying to build a spring native image with ‘spring-boot-starter-data-elasticsearch’ dependency which uses RestHighLevelClient to interact with elasticsearch.
It turns out I always receive ‘connection refused’ exception. Any idea why this happens?
Note: My application is deployed in AWS Lambda.
Any help is much appreciated. Thanks in advance.
Related
I have an app in Springboot and need to integrate org.eclipse.microprofile.reactive.Messaging. Don't look any documentation of these and I don't know if is possible. I try to use the org.eclipse.microprofile.reactive.Messaging.Emitter and configuration but don't work. Any know how can use? Thank you.
I try to inject the quarkus-smallrye-reactive-messaging-kafka dependency in my proyect but not work.
I've a big problem, and I hope that someone could help me!
I would like to refactor an old legacy JavaEE application.
The refactoring I've in my mind is very deep and I would like to redesign the application moving towards a microservices architecture using Java again.
Many frameworks exist for doing that, but I would like use one of the following: Quarkus (my favoutire), Microprofile and Vert.x.
The problem is that I got the indication that the new application must be deployable on old application servers, such as WebSpere 8.5.5, WebLogic 12c, and must be deployable in a Kubernetes environment without any application server.
Is there any way to meet this last requirement?
Any help will be highly appreciated!
Thanks a lot!
I'm trying to learn how to build a restful webservice with Spring on tomcat external server but I'm only able to find guides that use spring-boot. I'd like to fully understand all the lifecycle, is there anyone who can help me to build a simple rest webservice from the scratch?
Are you offline when you do google search? :) just search the term "Spring Rest" see -> Spring Rest
And the first 10-20 results are all Spring boot and Rest guides.
yes with the help of spring boot to develop API is very easy. there is not any configuration required. for details please find the below post and I hope you will get answer of all your query.
https://kpblogs.com/java/spring/how-to-build-rest-web-servicesapi-using-spring-framework/
Been googling around for some time already.
I have some java, nodejs, php, etc. applications deployed in openshift, and I want to deploy a scala play2.3 app now. I'm starting a new project and I really want to write it in scala with play.
I need either a way to deploy a play 2.3 app in openshift, or another free hosting service that provides the same tools.
Thanks in advance!
Regards
as i know Heroku hosting service let you deploy scala-play application. also it seems that OpenShift also provides the same functionnality.
You may try following QuickStart: https://hub.openshift.com/quickstarts/198-play-framework
Anybody know where cloud foundry runtime jar be found ?
cloudfoundry-runtime has been deprecated for some time now. Spring Cloud Connectors should be used instead as the preferred way for an app to inspect the CF environment that it is running in.
https://github.com/spring-cloud/spring-cloud-connectors#spring-cloud-