In my company we have use Apache CXF to build REST endpoints and all services are packaged as OGSi bundles which are run in Apache Karaf.
Can anyone share the knowledge on how to start migrating the whole backend to Spring boot ? I am struggling to find any direction or starting point for it. Any help is much appreciated. Thanks in advance.
Related
There is a task to move apache servicemix ESB to springboot. But I'm a little confused as to how can i relate serviceMix to spring-boot.
As I know the main use of spring-boot is to autoconfiguration and provide embedded components such as tomcat server etc.
But I know little about serviceMix and when someone says it needs to be migrated to spring-boot, what exactly needs to be done?
Tried finding it on the various forums about apache ServiceMix and tried to correlate it with spring boot but still did not find any appropriate answers. Can someone help here to make me understand what aspects of servicemix can be replaced with Springboot and how?
Currently we use OSGi framework for modular application development. But we are now planning to migrate it to springboot . Any relevant articles / tutorials / success stories on this ?
Any help would be greatly appreciated
Thanks
Niyas
I don`t think the is a simple migration path. Moving to spring boot will require changes all over the place in your application.
If you are looking into scaling in the form of microservices then this can also be done in OSGi. The enroute microservice tutorial shows how to leverage JAX-RS for REST communication and how to package your microservice into a runnable jar. This can then be easily deployed to kubernetes. See here for the code.
Version 1.5.4 was working fine without extra declaration of starter web in POM of Spring Boot Admin Clients. When I upgraded to 2.0.1, I had to add starter web to POM to make it work. Without starter web in client apps, there is no error or no log related to registering the application.
It's not documented anywhere as far as I know. Can anyone please confirm?
Spring Boot Admin 2.x can run on netty and on tomcat. So if you want to run on tomcat you have to explicitly import the spring-boot-starter-web.
The getting started guide contains this dependency http://codecentric.github.io/spring-boot-admin/current/#set-up-admin-server
As part of my continuous integration process I need to deploy a spring boot application as a Windows service :(, what would be the most recommended approach/tools to do it?
Spring boot documentation talks about winsw:
https://github.com/kohsuke/winsw
but I don’t like its .NET dependencies, it may end complicating things.
Thanks
You can use any of the other available java service wrappers
YAJSW
Java Service Wrapper
Apache Commons Daemon
YAJSW is easy to install and doesn't have any .NET dependencies.
Im trying to just use the basic endpoints that comes with spring actuate and want to deploy in the external tomcat server without using spring boot. How to achieve this, could anyone help me please. Is there any configuration changes that I need to do. This website gives an idea but it uses older version of spring-boot-actuate. Also EndpointHandlerMapping and EndpointHandlerAdapter doesnt come with newer version of spring boot actuate.
Anyways I get 404 resource not found when deploying to the server.
Check out this question to see if it helps you. The Actuator component is a Spring Boot feature but you can use individual components within an existing application with the right build and configuration setups.