Re: apache felix and spring integration
Thanks to your quick reply. I like felix embedded mode as it can be easily integrated into my application. Karak is a container and I found this: http://karaf.922171.n3.nabble.com/embedding-karaf-td4028257.html Saying that embedding a container doesn't make sense at all. from the latest karaf document, it says "It also supports the "run anywhere" (on any machine with Java, cloud, docker images, …) using the embedded mode." https://karaf.apache.org/manual/latest/ Any solid example on showing how to embed karaf? Karaf wiki page show TODO for embedding Karaf https://cwiki.apache.org/confluence/display/KARAF/6.4.+Embedding+Karaf -- Sent from: http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org
Re: apache felix and spring integration
Hi, I second François here. Karaf is definitely an option. As Karaf supports Spring, it would allow to "migrate" smoothly using Blueprint and the Spring extender for instance. Regards JB On 02/15/2018 04:38 AM, François Papon wrote: > Hi Ken, > > You can take a look to Apache Karaf, it's an enterprise container base on > OSGi (you can choose Apache Felix as framework). It introduce the concept of > feature for helping you to deal with bundle dependencies and other framework > like Spring. > > https://apache.karaf.org > > François > > Le 15 févr. 2018 5:29 AM, kentsang77a écrit : >> >> Hi all, >> >> I am new to apache feilx and tried the dictionary, spell checker and draw >> shape tutorials. >> >> I have a very large spring base backend application. There are around 500 >> spring beans inside. >> >> They are mainly service handlers, DAOs and some beans for business logic. >> >> Server >> -> Dispatcher (routing requests to handler) >> -> Service Handler (handle the request and reply response) >> -> DAOs (database insert / update / delete) / business logic beans >> >> Most service handlers have DAO / business logic bean injected. DAO and >> business logic beans are shared by many service handlers as singleton bean. >> >> Now I want to restructure some handlers as osgi bundles and the Server act >> as a osgi host. >> >> Is apache felix an appropriate framework for spring bean + osgi bundle? Any >> example on integrating spring base application with apache felix? >> >> Regards, >> Ken >> >> >> >> -- >> Sent from: >> http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html >> >> - >> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org >> For additional commands, e-mail: users-h...@felix.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org
Re: apache felix and spring integration
Hi Ken, You can take a look to Apache Karaf, it's an enterprise container base on OSGi (you can choose Apache Felix as framework). It introduce the concept of feature for helping you to deal with bundle dependencies and other framework like Spring. https://apache.karaf.org François Le 15 févr. 2018 5:29 AM, kentsang77a écrit : > > Hi all, > > I am new to apache feilx and tried the dictionary, spell checker and draw > shape tutorials. > > I have a very large spring base backend application. There are around 500 > spring beans inside. > > They are mainly service handlers, DAOs and some beans for business logic. > > Server > -> Dispatcher (routing requests to handler) > -> Service Handler (handle the request and reply response) > -> DAOs (database insert / update / delete) / business logic beans > > Most service handlers have DAO / business logic bean injected. DAO and > business logic beans are shared by many service handlers as singleton bean. > > Now I want to restructure some handlers as osgi bundles and the Server act > as a osgi host. > > Is apache felix an appropriate framework for spring bean + osgi bundle? Any > example on integrating spring base application with apache felix? > > Regards, > Ken > > > > -- > Sent from: > http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html > > - > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org
apache felix and spring integration
Hi all, I am new to apache feilx and tried the dictionary, spell checker and draw shape tutorials. I have a very large spring base backend application. There are around 500 spring beans inside. They are mainly service handlers, DAOs and some beans for business logic. Server -> Dispatcher (routing requests to handler) -> Service Handler (handle the request and reply response) -> DAOs (database insert / update / delete) / business logic beans Most service handlers have DAO / business logic bean injected. DAO and business logic beans are shared by many service handlers as singleton bean. Now I want to restructure some handlers as osgi bundles and the Server act as a osgi host. Is apache felix an appropriate framework for spring bean + osgi bundle? Any example on integrating spring base application with apache felix? Regards, Ken -- Sent from: http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org