How can web applications built without Spring (say, on Java-JEE and Go) be discovered and registered in Eureka Server ?
In a Spring-Boot application, it is easy to add these annotations:
@EnableDiscoveryClient
@SpringBootApplication
before
public class EurekaClientApp{
public static void main(String[] args) {
SpringApplication.run(EurekaClientApp.class, args);
}
}
and in configuration, application.properties
eureka.client.register-with-eureka=true
eureka.client.fetch-registry=true
But for applications which were built not as Spring-Boot or for that matter as Microservices, how should they be discovered and registered as clients by Eureka Server